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/lwpfribtable.cxx | |
parent | Checking is useless here (diff) | |
download | core-74e2d9b1e070a09cbbecfa305797566496420a01.tar.gz core-74e2d9b1e070a09cbbecfa305797566496420a01.zip |
Fix for fdo43460 Part XXIV getLength() to isEmpty()
Part XXIV
Modules
lotuswordpro
Diffstat (limited to 'lotuswordpro/source/filter/lwpfribtable.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfribtable.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwpfribtable.cxx b/lotuswordpro/source/filter/lwpfribtable.cxx index 33e3cfe1c6b5..86b81c39072f 100644 --- a/lotuswordpro/source/filter/lwpfribtable.cxx +++ b/lotuswordpro/source/filter/lwpfribtable.cxx @@ -82,7 +82,7 @@ void LwpFribTable::RegisterNewStyle() XFParaStyle* pOldStyle = m_pPara->GetXFParaStyle(); if(HasNextFrib()) { - if (pOldStyle->GetMasterPage().getLength() == 0) + if (pOldStyle->GetMasterPage().isEmpty()) m_StyleName = pOldStyle->GetStyleName(); else { @@ -138,7 +138,7 @@ void LwpFribTable::XFConvert(XFContentContainer* pCont) LwpGlobalMgr* pGlobal = LwpGlobalMgr::GetInstance(); LwpChangeMgr* pChangeMgr = pGlobal->GetLwpChangeMgr(); sChangeID = pChangeMgr->GetChangeID(this); - if (sChangeID.getLength()) + if (!sChangeID.isEmpty()) { XFChangeStart* pChangeStart = new XFChangeStart; pChangeStart->SetChangeID(sChangeID); @@ -149,7 +149,7 @@ void LwpFribTable::XFConvert(XFContentContainer* pCont) if(m_bRevisionFlag) { - if (sChangeID.getLength()) + if (!sChangeID.isEmpty()) { XFChangeEnd* pChangeEnd = new XFChangeEnd; pChangeEnd->SetChangeID(sChangeID); |