diff options
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/stdtext.cxx | 2 | ||||
-rw-r--r-- | vcl/source/app/svapp.cxx | 2 | ||||
-rw-r--r-- | vcl/source/app/svdata.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/app/stdtext.cxx b/vcl/source/app/stdtext.cxx index f5b603e009bd..bef130dc7dca 100644 --- a/vcl/source/app/stdtext.cxx +++ b/vcl/source/app/stdtext.cxx @@ -92,7 +92,7 @@ OUString GetStandardQueryBoxText() OUString GetStandardText(StandardButtonType eButton) { - static const char* aResIdAry[static_cast<int>(StandardButtonType::Count)] = + static TranslateId aResIdAry[static_cast<int>(StandardButtonType::Count)] = { // http://lists.freedesktop.org/archives/libreoffice/2013-January/044513.html // Under windows we don't want accelerators on ok/cancel but do on other diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 7e1ad0865010..1a8c1d0b8e1a 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -1144,7 +1144,7 @@ OUString Application::GetAppName() enum {hwAll=0, hwEnv=1, hwUI=2}; -static OUString Localize(std::string_view aId, const bool bLocalize) +static OUString Localize(TranslateId aId, const bool bLocalize) { if (bLocalize) return VclResId(aId); diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx index 8b4e5fc1662a..147d010bdd08 100644 --- a/vcl/source/app/svdata.cxx +++ b/vcl/source/app/svdata.cxx @@ -256,7 +256,7 @@ const std::locale& ImplGetResLocale() return pSVData->maResLocale; } -OUString VclResId(std::string_view aId) +OUString VclResId(TranslateId aId) { return Translate::get(aId, ImplGetResLocale()); } |