diff options
Diffstat (limited to 'sc/source/ui/namedlg/namedlg.cxx')
-rw-r--r-- | sc/source/ui/namedlg/namedlg.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/source/ui/namedlg/namedlg.cxx b/sc/source/ui/namedlg/namedlg.cxx index c6c404f36c22..f25f9582f267 100644 --- a/sc/source/ui/namedlg/namedlg.cxx +++ b/sc/source/ui/namedlg/namedlg.cxx @@ -23,6 +23,7 @@ #include <document.hxx> #include <docfunc.hxx> #include <globstr.hrc> +#include <scresid.hxx> #include <namedlg.hxx> #include <viewdata.hxx> #include <tabvwsh.hxx> @@ -46,10 +47,10 @@ ScNameDlg::ScNameDlg( SfxBindings* pB, SfxChildWindow* pCW, vcl::Window* pParent std::map<OUString, std::unique_ptr<ScRangeName>> *const pRangeMap) : ScAnyRefDlg(pB, pCW, pParent, "ManageNamesDialog", "modules/scalc/ui/managenamesdialog.ui") - , maGlobalNameStr(ScGlobal::GetRscString(STR_GLOBAL_SCOPE)) - , maErrInvalidNameStr(ScGlobal::GetRscString(STR_ERR_NAME_INVALID)) - , maErrNameInUse(ScGlobal::GetRscString(STR_ERR_NAME_EXISTS)) - , maStrMultiSelect(ScGlobal::GetRscString(STR_MULTI_SELECT)) + , maGlobalNameStr(ScResId(STR_GLOBAL_SCOPE)) + , maErrInvalidNameStr(ScResId(STR_ERR_NAME_INVALID)) + , maErrNameInUse(ScResId(STR_ERR_NAME_EXISTS)) + , maStrMultiSelect(ScResId(STR_MULTI_SELECT)) , mpViewData(ptrViewData) , mpDoc(ptrViewData->GetDocument()) |