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

New commits:
commit bbbda0cf1afefeab3715a3a1b3c6a10156ef4fda
Author: Noel Power <noel.po...@suse.com>
Date:   Thu Aug 1 18:44:40 2013 +0100

    attempt blind fix of Macos compile error
    
    Change-Id: I1e524e1daf40b72b434824f891ac5ad2af1cd7f8

diff --git a/sc/source/filter/excel/excrecds.cxx 
b/sc/source/filter/excel/excrecds.cxx
index c63d3c5..e24e122 100644
--- a/sc/source/filter/excel/excrecds.cxx
+++ b/sc/source/filter/excel/excrecds.cxx
@@ -514,7 +514,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,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to