summaryrefslogtreecommitdiff
path: root/sc/source/filter/xcl97
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-26 11:23:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-26 11:23:00 +0200
commit7850e70d5e98bbfeb536d9644b618d0782da30a6 (patch)
tree60e4c3c3927efe44bd174cbf8176ec7d9912431b /sc/source/filter/xcl97
parent213472319d26c5b3edb463837c901b45b1fa8674 (diff)
Write 0 of type 'unsigned char'
regression introduced with ac2d415a52f22caf0012b7d9b17d015aca27db9d "loplugin:oncevar in sc" Change-Id: I1073e7e8b67ddf1dd633f004322c6bc46b9a8052
Diffstat (limited to 'sc/source/filter/xcl97')
-rw-r--r--sc/source/filter/xcl97/xcl97rec.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index 6f7a57db4967..93c9cf4f11ba 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -1587,7 +1587,7 @@ void XclExpSheetProtectOptions::WriteBody( XclExpStream& rStrm )
rStrm << nBytes;
for (int i = 0; i < 9; ++i)
- rStrm << sal_Int32(0);
+ rStrm << static_cast<unsigned char>(0);
nBytes = 0x0200;
rStrm << nBytes;