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/lwpfribtext.cxx | |
parent | 86b528bb05a8b3a389ebdf6ce09d9963019ec058 (diff) |
Fix for fdo43460 Part XXIV getLength() to isEmpty()
Part XXIV
Modules
lotuswordpro
Diffstat (limited to 'lotuswordpro/source/filter/lwpfribtext.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfribtext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpfribtext.cxx b/lotuswordpro/source/filter/lwpfribtext.cxx index d1c6f12e7c2f..9430f1b02501 100644 --- a/lotuswordpro/source/filter/lwpfribtext.cxx +++ b/lotuswordpro/source/filter/lwpfribtext.cxx @@ -473,7 +473,7 @@ void LwpFribPageNumber::XFConvert(XFContentContainer* pXFPara) break; } OUString styleName = GetStyleName(); - if (m_aBefText.str().getLength()>0) + if (!m_aBefText.str().isEmpty()) { OUString textStr = m_aBefText.str(); XFTextSpan *pBef = new XFTextSpan(textStr,styleName); @@ -488,7 +488,7 @@ void LwpFribPageNumber::XFConvert(XFContentContainer* pXFPara) } else pXFPara->Add(pNum); - if (m_aAfterText.str().getLength()>0) + if (!m_aAfterText.str().isEmpty()) { OUString textStr = m_aAfterText.str(); XFTextSpan *pAfter = new XFTextSpan(textStr,styleName); |