diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-14 12:10:39 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-14 12:11:48 -0200 |
commit | dc04d67e94d9302278fc049d6617b62fe461ac66 (patch) | |
tree | 3dc4e0e5ee4406483cc1bc8c7bb690a1b2c6efe9 /svx/source/toolbars/fontworkbar.cxx | |
parent | c447d9ba8c7d40670c59a9ec9d45f32a36c1efcd (diff) |
Fix for fdo43460 Part XXXVIII getLength() to isEmpty()
Part XXXVIII
Modules
svx
Diffstat (limited to 'svx/source/toolbars/fontworkbar.cxx')
-rw-r--r-- | svx/source/toolbars/fontworkbar.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/toolbars/fontworkbar.cxx b/svx/source/toolbars/fontworkbar.cxx index 9bac46fd7198..bd6b5ba50733 100644 --- a/svx/source/toolbars/fontworkbar.cxx +++ b/svx/source/toolbars/fontworkbar.cxx @@ -160,7 +160,7 @@ void SetFontWorkShapeTypeState( SdrView* pSdrView, SfxItemSet& rSet ) rtl::OUString aType; if ( *pAny >>= aType ) { - if ( aFontWorkShapeType.getLength() ) + if ( !aFontWorkShapeType.isEmpty() ) { if ( !aFontWorkShapeType.equals( aType ) ) // different FontWorkShapeTypes selected ? { @@ -477,7 +477,7 @@ void FontworkBar::execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rBi const SfxStringItem& rItm = (const SfxStringItem&)pArgs->Get( rReq.GetSlot() ); aCustomShape = rItm.GetValue(); } - if ( aCustomShape.getLength() ) + if ( !aCustomShape.isEmpty() ) { const SdrMarkList& rMarkList = pSdrView->GetMarkedObjectList(); sal_uInt32 nCount = rMarkList.GetMarkCount(), i; |