summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwptoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwptoc.cxx')
-rw-r--r--lotuswordpro/source/filter/lwptoc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwptoc.cxx b/lotuswordpro/source/filter/lwptoc.cxx
index e209557bedb9..75b9aa7ef7fa 100644
--- a/lotuswordpro/source/filter/lwptoc.cxx
+++ b/lotuswordpro/source/filter/lwptoc.cxx
@@ -337,7 +337,7 @@ void LwpTocSuperLayout::AddSourceStyle(XFIndex* pToc, LwpTocLevelData * pLevel,
bool LwpTocSuperLayout::GetRightAlignPageNumber(sal_uInt16 index)
{
if (index < MAX_LEVELS)
- return (m_nFlags[index] & TS_RIGHTALIGN) ? true : false;
+ return (m_nFlags[index] & TS_RIGHTALIGN) != 0;
return false;
}
/**
@@ -348,7 +348,7 @@ bool LwpTocSuperLayout::GetRightAlignPageNumber(sal_uInt16 index)
bool LwpTocSuperLayout::GetUsePageNumber(sal_uInt16 index)
{
if (index < MAX_LEVELS)
- return (m_nFlags[index] & TS_PAGENUMBER) ? true : false;
+ return (m_nFlags[index] & TS_PAGENUMBER) != 0;
return false;
}
/**