summaryrefslogtreecommitdiff
path: root/xmloff/source/style/PageMasterPropHdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/PageMasterPropHdl.cxx')
-rw-r--r--xmloff/source/style/PageMasterPropHdl.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/style/PageMasterPropHdl.cxx b/xmloff/source/style/PageMasterPropHdl.cxx
index 6099d4789c68..86d8829f70ae 100644
--- a/xmloff/source/style/PageMasterPropHdl.cxx
+++ b/xmloff/source/style/PageMasterPropHdl.cxx
@@ -260,9 +260,7 @@ bool XMLPMPropHdl_PaperTrayNumber::exportXML(
rStrExpValue = GetXMLToken( XML_DEFAULT );
else
{
- OUStringBuffer aBuffer;
- ::sax::Converter::convertNumber( aBuffer, nPaperTray );
- rStrExpValue = aBuffer.makeStringAndClear();
+ rStrExpValue = OUString::number( nPaperTray );
}
bRet = true;
}