diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-02 21:58:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-02 22:01:31 +0100 |
commit | d6a98cf1a5fafb0e96bdd224846952dbc499987e (patch) | |
tree | ab4d08ec4b1602fb073d7f6bd16e0aedb094e4c8 | |
parent | 714d4f88c545e5559bbfd7d23ae33f1acea76a05 (diff) |
Resolves: fdo#34023 apparent negative string length
-rw-r--r-- | filter/source/msfilter/mstoolbar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx index fe13e5c55..f3ff6122e 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; |