WaE: busted code

Change-Id: Ida6183eea365f7354f69d2b4e55cd97d2424e558
This commit is contained in:
Caolán McNamara
2014-01-15 15:49:43 +00:00
parent 854188e3b1
commit e8fb46b28b

View File

@@ -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