diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-05-11 15:58:09 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-05-12 13:43:11 +0200 |
commit | aa0cd609d3f7eee02a5f05a93cba060bb82184d5 (patch) | |
tree | 61ede7fce441d2020b8e1da855c84a9b7d8be610 /sc/source/ui/miscdlgs/scuiautofmt.cxx | |
parent | 2bc1758239dc3e76ef604fccf9d1c58eeba967e5 (diff) |
Replace ScGlobal::GetRscString with simple ScResId calls
After the gettext migration there is no point to have two
APIs for reading the same .mo file.
This patch is for sc/source/ui/[m-u]* for easier review.
Change-Id: I326902a89b8c65e32a42c3ebb55bea3609d32db6
Reviewed-on: https://gerrit.libreoffice.org/54136
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc/source/ui/miscdlgs/scuiautofmt.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/scuiautofmt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/miscdlgs/scuiautofmt.cxx b/sc/source/ui/miscdlgs/scuiautofmt.cxx index fb946f41eb7f..b772bb90c30f 100644 --- a/sc/source/ui/miscdlgs/scuiautofmt.cxx +++ b/sc/source/ui/miscdlgs/scuiautofmt.cxx @@ -261,7 +261,7 @@ IMPL_LINK_NOARG(ScAutoFormatDlg, AddHdl, Button*, void) { std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(GetFrameWeld(), VclMessageType::Error, VclButtonsType::OkCancel, - ScGlobal::GetRscString(STR_INVALID_AFNAME))); + ScResId(STR_INVALID_AFNAME))); sal_uInt16 nRet = xBox->run(); @@ -381,7 +381,7 @@ IMPL_LINK_NOARG(ScAutoFormatDlg, RenameHdl, Button*, void) { std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(GetFrameWeld(), VclMessageType::Error, VclButtonsType::OkCancel, - ScGlobal::GetRscString(STR_INVALID_AFNAME))); + ScResId(STR_INVALID_AFNAME))); bOk = RET_CANCEL == xBox->run(); } |