summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/mstoolbar.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-02 21:58:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-02 22:01:31 +0100
commita353132241ba68f516d65d721bdbe29add37d4e6 (patch)
tree055336cea8aa91e10b3d13c2326431aef8b8ff45 /filter/source/msfilter/mstoolbar.cxx
parentd2f3e45d5cb9cf5220df99e782d0ad05e567f947 (diff)
Resolves: fdo#34023 apparent negative string length
Diffstat (limited to 'filter/source/msfilter/mstoolbar.cxx')
-rw-r--r--filter/source/msfilter/mstoolbar.cxx2
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;