summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basctl/source/basicide/basicbox.cxx2
-rw-r--r--editeng/source/items/paraitem.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx
index 5b6b39976a69..0d869ab7feca 100644
--- a/basctl/source/basicide/basicbox.cxx
+++ b/basctl/source/basicide/basicbox.cxx
@@ -510,7 +510,7 @@ void LanguageBox::Update( const SfxStringItem* pItem )
{
FillBox();
- if ( pItem && pItem->GetValue().Len() > 0 )
+ if ( pItem && !pItem->GetValue().isEmpty() )
{
m_sCurrentText = pItem->GetValue();
if ( GetSelectEntry() != m_sCurrentText )
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx
index d247bb837031..7962c1d79646 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -1357,7 +1357,7 @@ SfxItemPresentation SvxPageModelItem::GetPresentation
) const
{
rText = OUString();
- bool bSet = ( GetValue().Len() > 0 );
+ bool bSet = !GetValue().isEmpty();
switch ( ePres )
{