Kaydet (Commit) 8817e5e3 authored tarafından David Tardon's avatar David Tardon

fdo#81004 this looks like a mis-merge to me

Change-Id: I2d30774a8a89002b6c2d8487bfce15eb13c82e0d
üst f312ef98
...@@ -248,14 +248,6 @@ void FontPrevWin_Impl::CheckScript() ...@@ -248,14 +248,6 @@ void FontPrevWin_Impl::CheckScript()
} }
sal_uInt16 nScript = xBreak->getScriptType( aText, 0 ); sal_uInt16 nScript = xBreak->getScriptType( aText, 0 );
sal_Int32 nChg = 0; sal_Int32 nChg = 0;
if( com::sun::star::i18n::ScriptType::WEAK == nScript )
{
nChg = xBreak->endOfScript( aText, nChg, nScript );
if (nChg < aText.getLength() && nChg >= 0)
nScript = xBreak->getScriptType( aText, nChg );
else
nScript = com::sun::star::i18n::ScriptType::LATIN;
}
do do
{ {
......
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