[Libreoffice-commits] .: filter/source

Caolán McNamara caolan at kemper.freedesktop.org
Sat Jul 2 14:01:39 PDT 2011


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

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

    Resolves: fdo#34023 apparent negative string length

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