summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg/tpcalc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/optdlg/tpcalc.cxx')
-rw-r--r--sc/source/ui/optdlg/tpcalc.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx
index 1c3900b5ea31..77652e6d22b5 100644
--- a/sc/source/ui/optdlg/tpcalc.cxx
+++ b/sc/source/ui/optdlg/tpcalc.cxx
@@ -24,6 +24,7 @@
#include <global.hxx>
#include <globstr.hrc>
+#include <scresid.hxx>
#include <uiitems.hxx>
#include <docsh.hxx>
#include <document.hxx>
@@ -235,7 +236,7 @@ DeactivateRC ScTpCalcOptions::DeactivatePage( SfxItemSet* pSetP )
if ( nReturn == DeactivateRC::KeepPage )
{
std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(GetFrameWeld(), VclMessageType::Warning,
- VclButtonsType::Ok, ScGlobal::GetRscString(STR_INVALID_EPS)));
+ VclButtonsType::Ok, ScResId(STR_INVALID_EPS)));
xBox->run();
m_pEdEps->GrabFocus();