[Libreoffice-commits] core.git: writerfilter/source
Stephan Bergmann
sbergman at redhat.com
Fri Feb 21 15:20:30 PST 2014
writerfilter/source/dmapper/TextEffectsHandler.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit b5b22e5c041ef5a4f9419cb8f97a091883dedbf8
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sat Feb 22 00:19:53 2014 +0100
Fix 32-bit builds
Change-Id: I904bd077a0a519f296155ba0d83c083e8bca67d2
diff --git a/writerfilter/source/dmapper/TextEffectsHandler.cxx b/writerfilter/source/dmapper/TextEffectsHandler.cxx
index 6e00b20..38d3d82 100644
--- a/writerfilter/source/dmapper/TextEffectsHandler.cxx
+++ b/writerfilter/source/dmapper/TextEffectsHandler.cxx
@@ -138,13 +138,13 @@ void TextEffectsHandler::lcl_attribute(Id aName, Value& aValue)
switch(aName)
{
case NS_ooxml::LN_CT_Percentage_val:
- mpGrabBagStack->appendElement("val", makeAny(aValue.getInt()));
+ mpGrabBagStack->appendElement("val", makeAny(sal_Int32(aValue.getInt())));
break;
case NS_ooxml::LN_CT_PositiveFixedPercentage_val:
- mpGrabBagStack->appendElement("val", makeAny(aValue.getInt()));
+ mpGrabBagStack->appendElement("val", makeAny(sal_Int32(aValue.getInt())));
break;
case NS_ooxml::LN_CT_PositivePercentage_val:
- mpGrabBagStack->appendElement("val", makeAny(aValue.getInt()));
+ mpGrabBagStack->appendElement("val", makeAny(sal_Int32(aValue.getInt())));
break;
case NS_ooxml::LN_CT_SchemeColor_val:
mpGrabBagStack->appendElement("val", makeAny(getSchemeColorTypeString(aValue.getInt())));
More information about the Libreoffice-commits
mailing list