diff options
Diffstat (limited to 'sc/source/ui/dbgui/scendlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/scendlg.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/scendlg.cxx b/sc/source/ui/dbgui/scendlg.cxx index 5d61ff7c6c03..f7362aeabac3 100644 --- a/sc/source/ui/dbgui/scendlg.cxx +++ b/sc/source/ui/dbgui/scendlg.cxx @@ -31,6 +31,7 @@ #include <global.hxx> #include <globstr.hrc> +#include <scresid.hxx> #include <tabvwsh.hxx> #include <viewdata.hxx> #include <document.hxx> @@ -152,7 +153,7 @@ IMPL_LINK_NOARG(ScNewScenarioDlg, OkHdl, Button*, void) { std::unique_ptr<weld::MessageDialog> xInfoBox(Application::CreateMessageDialog(GetFrameWeld(), VclMessageType::Info, VclButtonsType::Ok, - ScGlobal::GetRscString(STR_INVALIDTABNAME))); + ScResId(STR_INVALIDTABNAME))); xInfoBox->run(); m_pEdName->GrabFocus(); } @@ -160,7 +161,7 @@ IMPL_LINK_NOARG(ScNewScenarioDlg, OkHdl, Button*, void) { std::unique_ptr<weld::MessageDialog> xInfoBox(Application::CreateMessageDialog(GetFrameWeld(), VclMessageType::Info, VclButtonsType::Ok, - ScGlobal::GetRscString(STR_NEWTABNAMENOTUNIQUE))); + ScResId(STR_NEWTABNAMENOTUNIQUE))); xInfoBox->run(); m_pEdName->GrabFocus(); } |