Kaydet (Commit) e8fb46b2 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: busted code

Change-Id: Ida6183eea365f7354f69d2b4e55cd97d2424e558
üst 854188e3
...@@ -230,7 +230,7 @@ void GetTextAreaOutline( const FWData& rFWData, const SdrObject* pCustomShape, F ...@@ -230,7 +230,7 @@ void GetTextAreaOutline( const FWData& rFWData, const SdrObject* pCustomShape, F
nScriptType = xBI->getScriptType( rText, 0 ); nScriptType = xBI->getScriptType( rText, 0 );
if( i18n::ScriptType::WEAK == nScriptType ) 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) if (nChg < rText.getLength() && nChg >= 0)
nScriptType = xBI->getScriptType( rText, nChg ); nScriptType = xBI->getScriptType( rText, nChg );
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment