summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwppara.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwppara.cxx')
-rw-r--r--lotuswordpro/source/filter/lwppara.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index 3fbf44ef9a85..c18319e7e0e4 100644
--- a/lotuswordpro/source/filter/lwppara.cxx
+++ b/lotuswordpro/source/filter/lwppara.cxx
@@ -166,7 +166,7 @@ void LwpPara::Read()
if(LwpFileHeader::m_nFileRevision<0x0006)
Simple = false;
else if(LwpFileHeader::m_nFileRevision<0x000B)
- Simple = m_pObjStrm->QuickReaduInt8();
+ Simple = m_pObjStrm->QuickReaduInt8() != 0;
else
{
sal_uInt8 Flag = m_pObjStrm->QuickReaduInt8();