summaryrefslogtreecommitdiff
path: root/xmloff/source/style/PageMasterPropHdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/PageMasterPropHdl.cxx')
-rw-r--r--xmloff/source/style/PageMasterPropHdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/PageMasterPropHdl.cxx b/xmloff/source/style/PageMasterPropHdl.cxx
index 715aab239b0e..ac2e7bebf691 100644
--- a/xmloff/source/style/PageMasterPropHdl.cxx
+++ b/xmloff/source/style/PageMasterPropHdl.cxx
@@ -48,7 +48,7 @@ XMLPMPropHdl_PageStyleLayout::~XMLPMPropHdl_PageStyleLayout()
bool XMLPMPropHdl_PageStyleLayout::equals( const Any& rAny1, const Any& rAny2 ) const
{
style::PageStyleLayout eLayout1, eLayout2;
- return ((rAny1 >>= eLayout1) && (rAny2 >>= eLayout2)) ? (eLayout1 == eLayout2) : false;
+ return (rAny1 >>= eLayout1) && (rAny2 >>= eLayout2) && (eLayout1 == eLayout2);
}
bool XMLPMPropHdl_PageStyleLayout::importXML(