diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx index dcb831c..f011531 100644 --- a/sw/source/core/edit/editsh.cxx +++ b/sw/source/core/edit/editsh.cxx @@ -1085,7 +1085,8 @@ void SwEditShell::SetLinkUpdMode( USHORT nMode ) SwExtTextInput* SwEditShell::CreateExtTextInput(LanguageType eInputLanguage) { SwExtTextInput* pRet = GetDoc()->CreateExtTextInput( *GetCrsr() ); - pRet->SetLanguage(eInputLanguage); + if ( eInputLanguage != LANGUAGE_DONTKNOW) + pRet->SetLanguage(eInputLanguage); pRet->SetOverwriteCursor( SwCrsrShell::IsOverwriteCrsr() ); return pRet; } diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index b16bb6a..e8bd249 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -5641,7 +5641,7 @@ void QuickHelpData::Start( SwWrtShell& rSh, USHORT nWrdLen ) EXTTEXTINPUT_ATTR_HIGHLIGHT; pCETID = new CommandExtTextInputData( sStr, pAttrs, nL, 0, 0, 0, FALSE ); - rSh.CreateExtTextInput(rWin.GetInputLanguage()); + rSh.CreateExtTextInput(LANGUAGE_DONTKNOW); rSh.SetExtTextInputData( *pCETID ); } }