summaryrefslogtreecommitdiff
path: root/xmloff/source/style/EnumPropertyHdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/EnumPropertyHdl.cxx')
-rw-r--r--xmloff/source/style/EnumPropertyHdl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/style/EnumPropertyHdl.cxx b/xmloff/source/style/EnumPropertyHdl.cxx
index fcfe449f5758..c20fd050676c 100644
--- a/xmloff/source/style/EnumPropertyHdl.cxx
+++ b/xmloff/source/style/EnumPropertyHdl.cxx
@@ -30,7 +30,6 @@ using namespace ::com::sun::star::uno;
// class XMLEnumPropertyHdl
-
XMLEnumPropertyHdl::~XMLEnumPropertyHdl()
{
// Nothing to do
@@ -75,7 +74,7 @@ bool XMLEnumPropertyHdl::exportXML( OUString& rStrExpValue, const Any& rValue, c
OUStringBuffer aOut;
- if(!SvXMLUnitConverter::convertEnum( aOut, nValue, mpEnumMap ))
+ if(!SvXMLUnitConverter::convertEnum( aOut, (sal_uInt16)nValue, mpEnumMap ))
return false;
rStrExpValue = aOut.makeStringAndClear();