summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xeextlst.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xeextlst.cxx')
-rw-r--r--sc/source/filter/excel/xeextlst.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xeextlst.cxx b/sc/source/filter/excel/xeextlst.cxx
index 53ab66ba2ec5..d4109e64636f 100644
--- a/sc/source/filter/excel/xeextlst.cxx
+++ b/sc/source/filter/excel/xeextlst.cxx
@@ -140,8 +140,8 @@ void XclExpExtDataBar::SaveXml( XclExpXmlStream& rStrm )
{
sax_fastparser::FSHelperPtr& rWorksheet = rStrm.GetCurrentStream();
rWorksheet->startElementNS( XML_x14, XML_dataBar,
- XML_minLength, rtl::OString::valueOf(static_cast<sal_Int32>(0)).getStr(),
- XML_maxLength, rtl::OString::valueOf(static_cast<sal_Int32>(100)).getStr(),
+ XML_minLength, OString::number(0).getStr(),
+ XML_maxLength, OString::number(100).getStr(),
XML_axisPosition, getAxisPosition(meAxisPosition),
FSEND );