diff options
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); |