[Libreoffice-commits] core.git: svx/source

Caolán McNamara caolanm at redhat.com
Wed Jan 15 07:57:13 PST 2014


 svx/source/customshapes/EnhancedCustomShapeFontWork.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e8fb46b28ba9b7137b0d807913106c6f0ea2e87d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jan 15 15:49:43 2014 +0000

    WaE: busted code
    
    Change-Id: Ida6183eea365f7354f69d2b4e55cd97d2424e558

diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
index 9f131f1..07e7b64 100644
--- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
@@ -230,7 +230,7 @@ void GetTextAreaOutline( const FWData& rFWData, const SdrObject* pCustomShape, F
                 nScriptType = xBI->getScriptType( rText, 0 );
                 if( i18n::ScriptType::WEAK == nScriptType )
                 {
-                    sal_Int32 nChg = xBI->endOfScript( rText, nChg, nScriptType );
+                    sal_Int32 nChg = xBI->endOfScript( rText, 0, nScriptType );
                     if (nChg < rText.getLength() && nChg >= 0)
                         nScriptType = xBI->getScriptType( rText, nChg );
                     else


More information about the Libreoffice-commits mailing list