summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/xfilter/xflist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/xfilter/xflist.cxx')
-rw-r--r--lotuswordpro/source/filter/xfilter/xflist.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xflist.cxx b/lotuswordpro/source/filter/xfilter/xflist.cxx
index cbfa2b1e49f7..f2444c3681ea 100644
--- a/lotuswordpro/source/filter/xfilter/xflist.cxx
+++ b/lotuswordpro/source/filter/xfilter/xflist.cxx
@@ -79,7 +79,7 @@ void XFList::ToXml(IXFStream *pStrm)
assert(NULL!=pAttrList);
pAttrList->Clear();
- if( GetStyleName().getLength() )
+ if( !GetStyleName().isEmpty() )
pAttrList->AddAttribute( A2OUSTR("text:style-name"), GetStyleName() );
if( m_bContinueNumber )
pAttrList->AddAttribute( A2OUSTR("text:continue-numbering"), A2OUSTR("true") );
@@ -107,7 +107,7 @@ void XFList::StartList(IXFStream *pStrm, sal_Bool bContinueNumber)
assert(NULL!=pAttrList);
pAttrList->Clear();
- if( GetStyleName().getLength() )
+ if( !GetStyleName().isEmpty() )
pAttrList->AddAttribute( A2OUSTR("text:style-name"), GetStyleName() );
if( bContinueNumber )
pAttrList->AddAttribute( A2OUSTR("text:continue-numbering"), A2OUSTR("true") );