diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-27 16:32:55 -0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-12-30 13:02:13 +0100 |
commit | 74e2d9b1e070a09cbbecfa305797566496420a01 (patch) | |
tree | 7048dcee19c0ab94f8b928e753d99b62774c2e77 /lotuswordpro/source/filter/xfilter/xffootnoteconfig.hxx | |
parent | 86b528bb05a8b3a389ebdf6ce09d9963019ec058 (diff) |
Fix for fdo43460 Part XXIV getLength() to isEmpty()
Part XXIV
Modules
lotuswordpro
Diffstat (limited to 'lotuswordpro/source/filter/xfilter/xffootnoteconfig.hxx')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xffootnoteconfig.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xffootnoteconfig.hxx b/lotuswordpro/source/filter/xfilter/xffootnoteconfig.hxx index 55cede3e00fc..5fc18fbbb12e 100644 --- a/lotuswordpro/source/filter/xfilter/xffootnoteconfig.hxx +++ b/lotuswordpro/source/filter/xfilter/xffootnoteconfig.hxx @@ -197,25 +197,25 @@ inline void XFFootnoteConfig::ToXml(IXFStream *pStrm) IXFAttrList *pAttrList = pStrm->GetAttrList(); pAttrList->Clear(); - if( m_strCitationStyle.getLength()>0 ) + if( !m_strCitationStyle.isEmpty() ) pAttrList->AddAttribute( A2OUSTR("text:citation-style-name"), m_strCitationStyle); - if( m_strBodyStyle.getLength()>0 ) + if( !m_strBodyStyle.isEmpty() ) pAttrList->AddAttribute( A2OUSTR("text:citation-body-style-name"), m_strBodyStyle); - if( m_strNumPrefix.getLength()>0 ) + if( !m_strNumPrefix.isEmpty() ) pAttrList->AddAttribute( A2OUSTR("style:num-prefix"), m_strNumPrefix); - if( m_strNumSuffix.getLength()>0 ) + if( !m_strNumSuffix.isEmpty() ) pAttrList->AddAttribute( A2OUSTR("style:num-suffix"), m_strNumSuffix); - if( m_strNumFmt.getLength()>0 ) + if( !m_strNumFmt.isEmpty() ) pAttrList->AddAttribute( A2OUSTR("style:num-format"), m_strNumFmt); - if( m_strDefaultStyle.getLength()>0 ) + if( !m_strDefaultStyle.isEmpty() ) pAttrList->AddAttribute( A2OUSTR("text:default-style-name"), m_strDefaultStyle); - if( m_strMasterPage.getLength()>0 ) + if( !m_strMasterPage.isEmpty() ) pAttrList->AddAttribute( A2OUSTR("text:master-page-name"), m_strMasterPage); @@ -239,14 +239,14 @@ inline void XFFootnoteConfig::ToXml(IXFStream *pStrm) if(m_bIsFootnote) { pStrm->StartElement( A2OUSTR("text:footnotes-configuration") ); - if( m_strMessageOn.getLength()>0 ) + if( !m_strMessageOn.isEmpty() ) { pStrm->StartElement( A2OUSTR("text:footnote-continuation-notice-forward") ); pStrm->Characters(m_strMessageOn); pStrm->EndElement( A2OUSTR("text:footnote-continuation-notice-forward") ); } - if( m_strMessageFrom.getLength()>0 ) + if( !m_strMessageFrom.isEmpty() ) { pStrm->StartElement( A2OUSTR("text:footnote-continuation-notice-backward") ); pStrm->Characters(m_strMessageFrom); |