diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-26 11:23:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-26 11:23:00 +0200 |
commit | 7850e70d5e98bbfeb536d9644b618d0782da30a6 (patch) | |
tree | 60e4c3c3927efe44bd174cbf8176ec7d9912431b /sc | |
parent | 213472319d26c5b3edb463837c901b45b1fa8674 (diff) |
Write 0 of type 'unsigned char'
regression introduced with ac2d415a52f22caf0012b7d9b17d015aca27db9d
"loplugin:oncevar in sc"
Change-Id: I1073e7e8b67ddf1dd633f004322c6bc46b9a8052
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xcl97/xcl97rec.cxx | 2 |
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; |