summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-08-03 12:53:49 +0200
committerEike Rathke <erack@redhat.com>2013-08-03 12:54:50 +0200
commit1427632d172f26fb0b15f2d162da2fca8e701f9f (patch)
tree8a1eed206571b9850e03f74e3b7a8b4c2660ce89
parent863ecf687efaad3354c5c260458344b19c4c228c (diff)
hopefully fixed MSVC build breaker, ambiguous call to overloaded function
Change-Id: I923846f8ea8d61547aab2aaeab2232439b5e4a72
-rw-r--r--sc/source/filter/excel/excrecds.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/excrecds.cxx b/sc/source/filter/excel/excrecds.cxx
index 035e4d1ed47a..fc114ec5a1eb 100644
--- a/sc/source/filter/excel/excrecds.cxx
+++ b/sc/source/filter/excel/excrecds.cxx
@@ -515,7 +515,7 @@ void XclExpSheetProtection::SaveXml( XclExpXmlStream& rStrm )
{
nHash = ((aHash[0] << 8) & 0xFFFF);
nHash |= (aHash[1] & 0xFF);
- sHash = OString::valueOf( nHash, 16 );
+ sHash = OString::valueOf( static_cast<sal_Int32>(nHash), 16 );
}
sax_fastparser::FSHelperPtr& rWorksheet = rStrm.GetCurrentStream();
rWorksheet->singleElement( XML_sheetProtection,