diff options
Diffstat (limited to 'sc/source/ui/docshell/arealink.cxx')
-rw-r--r-- | sc/source/ui/docshell/arealink.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx index c1def55db4d3..acdc09144a42 100644 --- a/sc/source/ui/docshell/arealink.cxx +++ b/sc/source/ui/docshell/arealink.cxx @@ -34,6 +34,7 @@ #include <dbdata.hxx> #include <undoblk.hxx> #include <globstr.hrc> +#include <scresid.hxx> #include <markdata.hxx> #include <hints.hxx> #include <filter.hxx> @@ -404,7 +405,7 @@ bool ScAreaLink::Refresh( const OUString& rNewFile, const OUString& rNewFilter, } else { - OUString aErr = ScGlobal::GetRscString(STR_LINKERROR); + OUString aErr = ScResId(STR_LINKERROR); rDoc.SetString( aDestPos.Col(), aDestPos.Row(), aDestPos.Tab(), aErr ); } @@ -466,7 +467,7 @@ bool ScAreaLink::Refresh( const OUString& rNewFile, const OUString& rNewFilter, vcl::Window* pWin = Application::GetDefDialogParent(); std::unique_ptr<weld::MessageDialog> xInfoBox(Application::CreateMessageDialog(pWin ? pWin->GetFrameWeld() : nullptr, VclMessageType::Info, VclButtonsType::Ok, - ScGlobal::GetRscString(STR_MSSG_DOSUBTOTALS_2))); + ScResId(STR_MSSG_DOSUBTOTALS_2))); xInfoBox->run(); } |