summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8glsy.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8glsy.cxx')
-rw-r--r--sw/source/filter/ww8/ww8glsy.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8glsy.cxx b/sw/source/filter/ww8/ww8glsy.cxx
index 811b554c15a7..96dc246e9919 100644
--- a/sw/source/filter/ww8/ww8glsy.cxx
+++ b/sw/source/filter/ww8/ww8glsy.cxx
@@ -144,7 +144,7 @@ bool WW8Glossary::MakeEntries(SwDoc *pD, SwTextBlocks &rBlocks,
// sttbfglsystyle list that this entry belongs to. Unused at the
// moment
const ww::bytes &rData = rExtra[nGlosEntry];
- sal_uInt16 n = SVBT16ToShort( &(rData[2]) );
+ sal_uInt16 n = SVBT16ToUInt16( &(rData[2]) );
if(n != 0xFFFF)
{
rBlocks.ClearDoc();