summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-08-01 18:44:40 +0100
committerNoel Power <noel.power@suse.com>2013-08-01 18:45:21 +0100
commitbbbda0cf1afefeab3715a3a1b3c6a10156ef4fda (patch)
treef183fe57e5af771b268debbe9915ca91888cde2b /sc
parenta1e10f8b468d5f0b2ddb2d3dc1be2cdfdd9b2409 (diff)
attempt blind fix of Macos compile error
Change-Id: I1e524e1daf40b72b434824f891ac5ad2af1cd7f8
Diffstat (limited to 'sc')
-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 c63d3c5f33c6..e24e122b88d7 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,