diff options
Diffstat (limited to 'xmloff/source/style/XMLConstantsPropertyHandler.cxx')
-rw-r--r-- | xmloff/source/style/XMLConstantsPropertyHandler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/style/XMLConstantsPropertyHandler.cxx b/xmloff/source/style/XMLConstantsPropertyHandler.cxx index 73b880deb357..a5467f247354 100644 --- a/xmloff/source/style/XMLConstantsPropertyHandler.cxx +++ b/xmloff/source/style/XMLConstantsPropertyHandler.cxx @@ -49,8 +49,6 @@ bool XMLConstantsPropertyHandler::exportXML( const Any& rValue, const SvXMLUnitConverter& ) const { - OUStringBuffer aOut; - bool bRet = false; sal_Int32 nEnum = 0; @@ -70,6 +68,7 @@ bool XMLConstantsPropertyHandler::exportXML( if( (nEnum >= 0) && (nEnum <= 0xffff) ) { sal_uInt16 nConst = static_cast<sal_uInt16>( nEnum ); + OUStringBuffer aOut; bRet = SvXMLUnitConverter::convertEnum( aOut, nConst, pMap, eDefault ); |