summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh6.cxx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-05-11 15:38:02 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-05-12 13:58:53 +0200
commit4145a857791df2100d5df9defb79e1160f89249f (patch)
treea6f762df254394a15e46634b5c71b63e84de8e4d /sc/source/ui/docshell/docsh6.cxx
parentaa0cd609d3f7eee02a5f05a93cba060bb82184d5 (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/[a-d]* for easier review. Change-Id: If268fb87ab09ca430a5bdb5cdd53a233e9158bfe Reviewed-on: https://gerrit.libreoffice.org/54134 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc/source/ui/docshell/docsh6.cxx')
-rw-r--r--sc/source/ui/docshell/docsh6.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx
index 8e3a28280e2a..cd05ca1eca9e 100644
--- a/sc/source/ui/docshell/docsh6.cxx
+++ b/sc/source/ui/docshell/docsh6.cxx
@@ -32,6 +32,7 @@
#include <tabvwsh.hxx>
#include <tablink.hxx>
#include <globstr.hrc>
+#include <scresid.hxx>
#include <scmod.hxx>
#include <compiler.hxx>
#include <interpre.hxx>
@@ -502,7 +503,7 @@ void ScDocShell::CheckConfigOptions()
vcl::Window* pParent = pViewShell->GetFrameWin();
std::unique_ptr<weld::MessageDialog> xInfoBox(Application::CreateMessageDialog(pParent ? pParent->GetFrameWeld() : nullptr,
VclMessageType::Info, VclButtonsType::Ok,
- ScGlobal::GetRscString(STR_OPTIONS_WARN_SEPARATORS)));
+ ScResId(STR_OPTIONS_WARN_SEPARATORS)));
xInfoBox->run();
}