summaryrefslogtreecommitdiff
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
commitd6a98cf1a5fafb0e96bdd224846952dbc499987e (patch)
treeab4d08ec4b1602fb073d7f6bd16e0aedb094e4c8
parent714d4f88c545e5559bbfd7d23ae33f1acea76a05 (diff)
Resolves: fdo#34023 apparent negative string length
-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 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;