[Libreoffice-commits] core.git: writerfilter/source
Caolán McNamara
caolanm at redhat.com
Fri Feb 21 15:24:41 PST 2014
writerfilter/source/dmapper/TextEffectsHandler.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6306c7c2f22180efad513d7304038e3efe8790ed
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 23:23:49 2014 +0000
some build fixage for old 32bit int/sal_Int32/long bustage
Change-Id: I809b8d6bad9c435333231c53001b1a961b6325d2
diff --git a/writerfilter/source/dmapper/TextEffectsHandler.cxx b/writerfilter/source/dmapper/TextEffectsHandler.cxx
index 38d3d82..060a389 100644
--- a/writerfilter/source/dmapper/TextEffectsHandler.cxx
+++ b/writerfilter/source/dmapper/TextEffectsHandler.cxx
@@ -147,7 +147,7 @@ void TextEffectsHandler::lcl_attribute(Id aName, Value& aValue)
mpGrabBagStack->appendElement("val", makeAny(sal_Int32(aValue.getInt())));
break;
case NS_ooxml::LN_CT_SchemeColor_val:
- mpGrabBagStack->appendElement("val", makeAny(getSchemeColorTypeString(aValue.getInt())));
+ mpGrabBagStack->appendElement("val", makeAny(getSchemeColorTypeString(sal_Int32(aValue.getInt()))));
break;
case NS_ooxml::LN_CT_SRgbColor_val:
{
@@ -159,7 +159,7 @@ void TextEffectsHandler::lcl_attribute(Id aName, Value& aValue)
}
break;
case NS_ooxml::LN_CT_Glow_rad:
- mpGrabBagStack->appendElement("rad", makeAny(aValue.getInt()));
+ mpGrabBagStack->appendElement("rad", makeAny(sal_Int32(aValue.getInt())));
break;
default:
break;
More information about the Libreoffice-commits
mailing list