diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xestyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx index acb746c2dcdd..01beec6a3e62 100644 --- a/sc/source/filter/excel/xestyle.cxx +++ b/sc/source/filter/excel/xestyle.cxx @@ -1219,7 +1219,7 @@ void XclExpNumFmt::SaveXml( XclExpXmlStream& rStrm, const String& rFormatCode ) { sax_fastparser::FSHelperPtr& rStyleSheet = rStrm.GetCurrentStream(); rStyleSheet->singleElement( XML_numFmt, - XML_numFmtId, OString::valueOf( mnXclNumFmt ).getStr(), + XML_numFmtId, OString::valueOf( static_cast<sal_Int32>(mnXclNumFmt) ).getStr(), XML_formatCode, XclXmlUtils::ToOString( rFormatCode ).getStr(), FSEND ); } |