diff options
Diffstat (limited to 'sc/source/ui/view/viewfun4.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun4.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx index 4312e4616e88..5bc8f11db602 100644 --- a/sc/source/ui/view/viewfun4.cxx +++ b/sc/source/ui/view/viewfun4.cxx @@ -52,6 +52,7 @@ #include <docpool.hxx> #include <globstr.hrc> #include <global.hxx> +#include <scresid.hxx> #include <undoblk.hxx> #include <undocell.hxx> #include <formulacell.hxx> @@ -397,7 +398,7 @@ void ScViewFunc::DoThesaurus() { LanguageType eLnge = ScViewUtil::GetEffLanguage( &rDoc, ScAddress( nCol, nRow, nTab ) ); OUString aErr = SvtLanguageTable::GetLanguageString(eLnge); - aErr += ScGlobal::GetRscString( STR_SPELLING_NO_LANG ); + aErr += ScResId( STR_SPELLING_NO_LANG ); vcl::Window* pWin = GetViewData().GetDialogParent(); std::unique_ptr<weld::MessageDialog> xInfoBox(Application::CreateMessageDialog(pWin ? pWin->GetFrameWeld() : nullptr, |