summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtparae.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtparae.cxx')
-rw-r--r--xmloff/source/text/txtparae.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 95a3e89c6f2d..4d1d196189ed 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -654,7 +654,7 @@ void XMLTextParagraphExport::Add( sal_uInt16 nFamily,
; // section styles have no parents
break;
}
- if( (aPropStates.size() - nIgnoreProps) > 0 )
+ if (aPropStates.size() - nIgnoreProps)
{
GetAutoStylePool().Add( nFamily, sParent, aPropStates, bDontSeek );
if( !sCondParent.isEmpty() && sParent != sCondParent )
@@ -848,7 +848,7 @@ OUString XMLTextParagraphExport::FindTextStyleAndHyperlink(
ppAddStates++;
}
}
- if( (aPropStates.size() - nIgnoreProps) > 0 )
+ if (aPropStates.size() - nIgnoreProps)
{
// erase the character style, otherwise the autostyle cannot be found!
// erase the hyperlink, otherwise the autostyle cannot be found!