summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpframelayout.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-27 16:32:55 -0200
committerJan Holesovsky <kendy@suse.cz>2011-12-30 13:02:13 +0100
commit74e2d9b1e070a09cbbecfa305797566496420a01 (patch)
tree7048dcee19c0ab94f8b928e753d99b62774c2e77 /lotuswordpro/source/filter/lwpframelayout.cxx
parentChecking is useless here (diff)
downloadcore-74e2d9b1e070a09cbbecfa305797566496420a01.tar.gz
core-74e2d9b1e070a09cbbecfa305797566496420a01.zip
Fix for fdo43460 Part XXIV getLength() to isEmpty()
Part XXIV Modules lotuswordpro
Diffstat (limited to 'lotuswordpro/source/filter/lwpframelayout.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpframelayout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpframelayout.cxx b/lotuswordpro/source/filter/lwpframelayout.cxx
index dcbe10d52a0d..6f9a0a7e5e80 100644
--- a/lotuswordpro/source/filter/lwpframelayout.cxx
+++ b/lotuswordpro/source/filter/lwpframelayout.cxx
@@ -126,7 +126,7 @@ void LwpFrame::RegisterStyle(XFFrameStyle* pFrameStyle)
//Set frame Name
OUString aFrameName = m_pLayout->GetName()->str();
- if(aFrameName.getLength())
+ if(!aFrameName.isEmpty())
{
//cause the bug of SODC, the linkframe name can not be "Frame1", so I change the frame name
/*if(aFrameName.equals(A2OUSTR("Frame1")))
@@ -891,7 +891,7 @@ OUString LwpFrameLayout::GetNextLinkName()
if (pHolder)
aName = pHolder->str();
//for division name confict
- if(pLayout->GetStyleName().getLength() > 0)
+ if(!pLayout->GetStyleName().isEmpty())
aName = pLayout->GetStyleName();
}
}