[Libreoffice-commits] .: Branch 'libreoffice-3-4' - filter/source

Michael Meeks michael at kemper.freedesktop.org
Fri Jul 8 03:40:32 PDT 2011


 filter/source/msfilter/mstoolbar.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8975158e0144772f8f288e2321d8f13a0bb6d956
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jul 2 21:58:33 2011 +0100

    Resolves: fdo#34023 apparent negative string length
    
    Signed-off-by: Michael Meeks <michael.meeks at novell.com>

diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx
index fe13e5c..f3ff612 100644
--- a/filter/source/msfilter/mstoolbar.cxx
+++ b/filter/source/msfilter/mstoolbar.cxx
@@ -421,7 +421,7 @@ WString::Read( SvStream *pS )
 {
     OSL_TRACE("WString::Read() stream pos 0x%x", pS->Tell() );
     nOffSet = pS->Tell();
-    sal_Int8 nChars = 0;
+    sal_uInt8 nChars = 0;
     *pS >> nChars;
     sString = readUnicodeString( pS, nChars );
     return true;


More information about the Libreoffice-commits mailing list