diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/excrecds.cxx | 2 |
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, |