writerfilter/source/dmapper/TextEffectsHandler.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit b5b22e5c041ef5a4f9419cb8f97a091883dedbf8 Author: Stephan Bergmann <sberg...@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()))); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits