summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-07-31 15:02:09 +0300
committerTor Lillqvist <tml@iki.fi>2013-07-31 15:02:25 +0300
commit48e3a04f5c81d88cf054ea658826c51bf413a185 (patch)
tree57dff2018bb12cc9722c78923e264ef2586426ba /vcl/source/control
parenta6fe1fde409ff1accdea49ff9de69658de1e6f5f (diff)
Fix bogus change of Len() to isEmpty()
Change-Id: Ie1dece00176985bc82dd89c9831b23cb8594b1c3
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/tabctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 2cc180246ee2..c362d061cde3 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -307,7 +307,7 @@ Size TabControl::ImplGetItemSize( ImplTabItem* pItem, long nMaxWidth )
// For languages with short names (e.g. Chinese), because the space is
// normally only one pixel per char
- if ( !pItem->maFormatText.isEmpty() < TAB_EXTRASPACE_X )
+ if ( pItem->maFormatText.Len() < TAB_EXTRASPACE_X )
aSize.Width() += TAB_EXTRASPACE_X-pItem->maFormatText.getLength();
// shorten Text if needed