[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - sc/source

Eike Rathke erack at redhat.com
Sat Aug 3 03:55:17 PDT 2013


 sc/source/filter/excel/excrecds.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1427632d172f26fb0b15f2d162da2fca8e701f9f
Author: Eike Rathke <erack at redhat.com>
Date:   Sat Aug 3 12:53:49 2013 +0200

    hopefully fixed MSVC build breaker, ambiguous call to overloaded function
    
    Change-Id: I923846f8ea8d61547aab2aaeab2232439b5e4a72

diff --git a/sc/source/filter/excel/excrecds.cxx b/sc/source/filter/excel/excrecds.cxx
index 035e4d1..fc114ec 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,


More information about the Libreoffice-commits mailing list