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/lwptablelayout.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/lwptablelayout.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwptablelayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index f09272015910..5f9ae7e60fee 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -1193,7 +1193,7 @@ void LwpTableLayout::PostProcessParagraph(XFCell *pCell, sal_uInt16 nRowID, sal_ sal_Bool bColorMod = sal_False; XFNumberStyle* pNumStyle = NULL; XFStyleManager* pXFStyleManager = LwpGlobalMgr::GetInstance()->GetXFStyleManager(); - if (sNumfmt.getLength()) + if (!sNumfmt.isEmpty()) { pNumStyle = (XFNumberStyle*)pXFStyleManager->FindStyle( sNumfmt); aColor = pNumStyle->GetColor(); |