vcl/source/control/tabctrl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 00ca0272697f701da80af6664df090e1ccadc746
Author: Tor Lillqvist <t...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to