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

Related: rhbz#1020712 more i18n::ScriptType being compared against SCRIPTTYPE

Change-Id: I5da9114a3fd8330df2b63dc9187323765d305791
üst e63a0d56
...@@ -2144,7 +2144,7 @@ void ImpEditEngine::ApplyChangedSentence(EditView& rEditView, ...@@ -2144,7 +2144,7 @@ void ImpEditEngine::ApplyChangedSentence(EditView& rEditView,
rEditView.pImpEditView->SetEditSelection( aCurrentOldPosition->Max() ); rEditView.pImpEditView->SetEditSelection( aCurrentOldPosition->Max() );
} }
sal_uInt16 nScriptType = GetI18NScriptTypeOfLanguage( aCurrentNewPortion->eLanguage ); sal_uInt16 nScriptType = SvtLanguageOptions::GetScriptTypeOfLanguage( aCurrentNewPortion->eLanguage );
sal_uInt16 nLangWhichId = EE_CHAR_LANGUAGE; sal_uInt16 nLangWhichId = EE_CHAR_LANGUAGE;
switch(nScriptType) switch(nScriptType)
{ {
...@@ -2191,7 +2191,7 @@ void ImpEditEngine::ApplyChangedSentence(EditView& rEditView, ...@@ -2191,7 +2191,7 @@ void ImpEditEngine::ApplyChangedSentence(EditView& rEditView,
LanguageType eCurLanguage = GetLanguage( aCurrentPaM ); LanguageType eCurLanguage = GetLanguage( aCurrentPaM );
if(eCurLanguage != aCurrentNewPortion->eLanguage) if(eCurLanguage != aCurrentNewPortion->eLanguage)
{ {
sal_uInt16 nScriptType = GetI18NScriptTypeOfLanguage( aCurrentNewPortion->eLanguage ); sal_uInt16 nScriptType = SvtLanguageOptions::GetScriptTypeOfLanguage( aCurrentNewPortion->eLanguage );
sal_uInt16 nLangWhichId = EE_CHAR_LANGUAGE; sal_uInt16 nLangWhichId = EE_CHAR_LANGUAGE;
switch(nScriptType) switch(nScriptType)
{ {
......
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