summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-15 15:49:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-15 15:49:43 +0000
commite8fb46b28ba9b7137b0d807913106c6f0ea2e87d (patch)
tree010e2153f41b45ba5b640b5d4b63cb314f26cfe9 /svx
parent854188e3b14c8eb67a1871f2c9d666f4bd22f08b (diff)
WaE: busted code
Change-Id: Ida6183eea365f7354f69d2b4e55cd97d2424e558
Diffstat (limited to 'svx')
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeFontWork.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
index 9f131f1fea14..07e7b6447cbd 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