[Libreoffice-commits] core.git: sc/source
Noel Power
noel.power at suse.com
Thu Aug 1 10:45:47 PDT 2013
sc/source/filter/excel/excrecds.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bbbda0cf1afefeab3715a3a1b3c6a10156ef4fda
Author: Noel Power <noel.power at 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,
More information about the Libreoffice-commits
mailing list