summaryrefslogtreecommitdiff
path: root/xmloff/source/style/tabsthdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/tabsthdl.cxx')
-rw-r--r--xmloff/source/style/tabsthdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/tabsthdl.cxx b/xmloff/source/style/tabsthdl.cxx
index 76dd4a70160b..c70e73f1dc9c 100644
--- a/xmloff/source/style/tabsthdl.cxx
+++ b/xmloff/source/style/tabsthdl.cxx
@@ -45,7 +45,7 @@ bool XMLTabStopPropHdl::equals( const uno::Any& r1, const uno::Any& r2 ) const
if( aSeq1.getLength() == aSeq2.getLength() )
{
bEqual = true;
- if( aSeq1.getLength() > 0 )
+ if( aSeq1.hasElements() )
{
const style::TabStop* pTabs1 = aSeq1.getConstArray();
const style::TabStop* pTabs2 = aSeq2.getConstArray();