[Libreoffice-commits] .: writerfilter/source
Lubos Lunak
llunak at kemper.freedesktop.org
Tue Nov 29 07:05:46 PST 2011
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 9bccb2c69af378333d0958c85445689bbfb091ea
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Tue Nov 29 14:44:18 2011 +0100
I hate sal_Int*. Fix ambiguous overload on windows.
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 1ce2b53..be64351 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -1109,9 +1109,9 @@ void DomainMapper_Impl::appendStarMath( const Value& val )
if( oox::FormulaImportBase* formulaimport = dynamic_cast< oox::FormulaImportBase* >( xInterface.get()))
size = formulaimport->getFormulaSize();
xStarMathProperties->setPropertyValue(PropertyNameSupplier::GetPropertyNameSupplier().GetName( PROP_WIDTH ),
- uno::makeAny( int(size.Width())));
+ uno::makeAny( sal_Int32(size.Width())));
xStarMathProperties->setPropertyValue(PropertyNameSupplier::GetPropertyNameSupplier().GetName( PROP_HEIGHT ),
- uno::makeAny( int(size.Height())));
+ uno::makeAny( sal_Int32(size.Height())));
// mimic the treatment of graphics here.. it seems anchoring as character
// gives a better ( visually ) result
xStarMathProperties->setPropertyValue(PropertyNameSupplier::GetPropertyNameSupplier().GetName( PROP_ANCHOR_TYPE ),
More information about the Libreoffice-commits
mailing list