summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-19 16:29:17 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-19 16:30:01 +0200
commit9bdb2bc1a0e5a6173ee3517fa64b9eaea46a4ca6 (patch)
treedaebf9ceddda5a80a15dde9c70d826fd396bbcb7 /sc
parentdf2a76d988ad11b20ce7cec9cff06a1bc5c94788 (diff)
fix ambiguous in win build
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xestyle.cxx2
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 );
}