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 | a353132241ba68f516d65d721bdbe29add37d4e6 (patch) | |
tree | 055336cea8aa91e10b3d13c2326431aef8b8ff45 /filter | |
parent | rtftok: '>>' should be '> >' within a nested template argument list (diff) | |
download | core-a353132241ba68f516d65d721bdbe29add37d4e6.tar.gz core-a353132241ba68f516d65d721bdbe29add37d4e6.zip |
Resolves: fdo#34023 apparent negative string length
Diffstat (limited to 'filter')
-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 43e37650dbdd..398d281088f5 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; |