diff options
Diffstat (limited to 'sc/source/ui/app/scdll.cxx')
-rw-r--r-- | sc/source/ui/app/scdll.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx index 0d062b10a1be..8dc2efb70498 100644 --- a/sc/source/ui/app/scdll.cxx +++ b/sc/source/ui/app/scdll.cxx @@ -38,6 +38,7 @@ #include <NumberFormatControl.hxx> #include <svtools/parhtml.hxx> +#include <tools/resmgr.hxx> #include <sot/formats.hxx> #include "scitems.hxx" @@ -107,9 +108,9 @@ #include <o3tl/make_unique.hxx> #include "scabstdlg.hxx" -OUString ScResId(sal_uInt16 nId) +OUString ScResId(const char* pId) { - return ResId(nId, *SC_MOD()->GetResMgr()); + return Translate::get(pId, SC_MOD()->GetResLocale()); } void ScDLL::Init() |