[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Mon Jun 26 09:14:21 UTC 2017


 sc/source/filter/xcl97/xcl97rec.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 213472319d26c5b3edb463837c901b45b1fa8674
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jun 26 11:13:52 2017 +0200

    Fix int (sal_Int32) ambiguity
    
    Change-Id: I32afd77a851da180d91011fa424a88be5871e8f7

diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index ed8bb5e8cdda..6f7a57db4967 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 << 0;
+        rStrm << sal_Int32(0);
 
     nBytes = 0x0200;
     rStrm << nBytes;


More information about the Libreoffice-commits mailing list