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/window/keycod.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/window/keycod.cxx')
-rw-r--r-- | vcl/source/window/keycod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/keycod.cxx b/vcl/source/window/keycod.cxx index cc3fca5802ea..31bf70f08d57 100644 --- a/vcl/source/window/keycod.cxx +++ b/vcl/source/window/keycod.cxx @@ -66,7 +66,7 @@ vcl::KeyCode::KeyCode( KeyFuncType eFunction ) OUString vcl::KeyCode::GetName() const { vcl::Window* pWindow = ImplGetDefaultWindow(); - return pWindow ? pWindow->ImplGetFrame()->GetKeyName( GetFullCode() ) : ""; + return pWindow ? pWindow->ImplGetFrame()->GetKeyName( GetFullCode() ) : u""_ustr; } KeyFuncType vcl::KeyCode::GetFunction() const |