[Libreoffice-commits] core.git: vcl/source
Tor Lillqvist
tml at iki.fi
Wed Jul 31 05:06:08 PDT 2013
vcl/source/control/tabctrl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 00ca0272697f701da80af6664df090e1ccadc746
Author: Tor Lillqvist <tml at iki.fi>
Date: Wed Jul 31 15:05:23 2013 +0300
Thinko
Change-Id: I778de768f42377c93db89c6dd1dd204ae7987d3d
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index c362d06..86e3ead 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.Len() < TAB_EXTRASPACE_X )
+ if ( pItem->maFormatText.getLength() < TAB_EXTRASPACE_X )
aSize.Width() += TAB_EXTRASPACE_X-pItem->maFormatText.getLength();
// shorten Text if needed
More information about the Libreoffice-commits
mailing list