diff options
author | Eike Rathke <erack@redhat.com> | 2014-04-17 22:37:15 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-04-17 23:14:59 +0200 |
commit | a70cad2c1ea644ac16098d549e554cd218840caf (patch) | |
tree | 1c35bce902832db5967f306e7ae9636a6d90b026 /sc | |
parent | be862ff4f7239497625125067c646bf5adab7741 (diff) |
no temporary instance of SvtLanguageTable necessary here
Change-Id: Ic94940cd230022fe968968718a37737c3d462aca
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/viewfun4.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx index 55937e03e1a4..13bdec065e90 100644 --- a/sc/source/ui/view/viewfun4.cxx +++ b/sc/source/ui/view/viewfun4.cxx @@ -385,8 +385,7 @@ void ScViewFunc::DoThesaurus( bool bRecord ) if (eState == EE_SPELL_ERRORFOUND) // sollte spaeter durch Wrapper geschehen! { LanguageType eLnge = ScViewUtil::GetEffLanguage( pDoc, ScAddress( nCol, nRow, nTab ) ); - SvtLanguageTable aLangTab; - OUString aErr = aLangTab.GetString(eLnge); + OUString aErr = SvtLanguageTable::GetLanguageString(eLnge); aErr += ScGlobal::GetRscString( STR_SPELLING_NO_LANG ); InfoBox aBox( GetViewData()->GetDialogParent(), aErr ); aBox.Execute(); |