summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-22 10:13:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-22 10:40:16 +0000
commit805f1ed598ef18157710cf3655d329b09a735389 (patch)
tree2cee7efb684ed827e0c962706186c6bdc3218423 /basctl
parent92ea45dc5d84360b69322194b31390860b4c5414 (diff)
fix editeng and basctl build
Change-Id: I0d70449ad9b42219969c82e2054694c4a5830dcf
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basicbox.cxx2
1 files changed, 1 insertions, 1 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 )