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.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index d1c2e5f7189f..7cebb589f0ea 100644
--- a/lotuswordpro/source/filter/lwppara.cxx
+++ b/lotuswordpro/source/filter/lwppara.cxx
@@ -174,8 +174,8 @@ void LwpPara::Read()
const int DISK_SIMPLE = 1;
const int DISK_NOTIFY = 2;
- Simple = (Flag & DISK_SIMPLE) ? true : false;
- Notify = (Flag & DISK_NOTIFY) ? true : false;
+ Simple = (Flag & DISK_SIMPLE) != 0;
+ Notify = (Flag & DISK_NOTIFY) != 0;
}
if(!Simple)
@@ -613,7 +613,7 @@ void LwpPara::RegisterStyle()
* higher than our current level.
*/
// restart based on Outline level?
- if (pNumbering && bLesser && (bHeading ? pNumbering->IsHeading() : true))
+ if (pNumbering && bLesser && (!bHeading || pNumbering->IsHeading()))
{
if (nFoundLevel != 0xffff)
{