diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-10 13:19:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-10 18:44:00 +0200 |
commit | 40dde4385cd913ac08292ad3be28bf17de9d296c (patch) | |
tree | 9d7cb5602808e1ff5831fabfa8d3405d416a682b /vcl/source/app/svapp.cxx | |
parent | ca5c9591ba38ad83415a2d4ced98bfc74d30b032 (diff) |
loplugin:ostr in vcl
Change-Id: I5b6ee5bda0c5ff69d297f7f8e87d4c3f3d21791c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167470
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r-- | vcl/source/app/svapp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 21de9dfc0f16..8bfcb5e03d66 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -153,7 +153,7 @@ Application* GetpApp() Application::Application() { // useful for themes at least, perhaps extensions too - OUString aVar("LIBO_VERSION"), aValue(LIBO_VERSION_DOTTED); + OUString aVar(u"LIBO_VERSION"_ustr), aValue(u"" LIBO_VERSION_DOTTED ""_ustr); osl_setEnvironment(aVar.pData, aValue.pData); ImplGetSVData()->mpApp = this; @@ -273,7 +273,7 @@ void Application::Exception( ExceptionCategory nCategory ) case ExceptionCategory::UserInterface: break; default: - Abort("Unknown Error"); + Abort(u"Unknown Error"_ustr); break; } } @@ -1166,7 +1166,7 @@ static OUString Localize(TranslateId aId, const bool bLocalize) if (bLocalize) return VclResId(aId); else - return Translate::get(aId, Translate::Create("vcl", LanguageTag("en-US"))); + return Translate::get(aId, Translate::Create("vcl", LanguageTag(u"en-US"_ustr))); } OUString Application::GetOSVersion() |