From 1427632d172f26fb0b15f2d162da2fca8e701f9f Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Sat, 3 Aug 2013 12:53:49 +0200 Subject: hopefully fixed MSVC build breaker, ambiguous call to overloaded function Change-Id: I923846f8ea8d61547aab2aaeab2232439b5e4a72 --- sc/source/filter/excel/excrecds.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(nHash), 16 ); } sax_fastparser::FSHelperPtr& rWorksheet = rStrm.GetCurrentStream(); rWorksheet->singleElement( XML_sheetProtection, -- cgit v1.2.3