summaryrefslogtreecommitdiff
path: root/embedserv/source/embed/intercept.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-11-08 14:22:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2023-11-08 18:58:40 +0100
commitc0e516609b9836f05543591398aeb7e99fe23234 (patch)
treed7fd5c56a847784cd1ca9403f6ad4e0a689a8630 /embedserv/source/embed/intercept.cxx
parentc3c56b85605555e32fa09f6437c755d841152cf3 (diff)
loplugin:stringstatic, lopluign:ostr (clang-cl)
Change-Id: I7a928a2385286f6d1ab3887c8d315af3f47c052d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159135 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embedserv/source/embed/intercept.cxx')
-rw-r--r--embedserv/source/embed/intercept.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/embedserv/source/embed/intercept.cxx b/embedserv/source/embed/intercept.cxx
index bd849805bc2a..0f1566fd780d 100644
--- a/embedserv/source/embed/intercept.cxx
+++ b/embedserv/source/embed/intercept.cxx
@@ -27,12 +27,12 @@ using namespace ::com::sun::star;
#define IUL 6
-constexpr OUStringLiteral IU0 = u".uno:Save";
-constexpr OUStringLiteral IU1 = u".uno:SaveAll";
-constexpr OUStringLiteral IU2 = u".uno:CloseDoc";
-constexpr OUStringLiteral IU3 = u".uno:CloseWin";
-constexpr OUStringLiteral IU4 = u".uno:CloseFrame";
-constexpr OUStringLiteral IU5 = u".uno:SaveAs";
+constexpr OUString IU0 = u".uno:Save"_ustr;
+constexpr OUString IU1 = u".uno:SaveAll"_ustr;
+constexpr OUString IU2 = u".uno:CloseDoc"_ustr;
+constexpr OUString IU3 = u".uno:CloseWin"_ustr;
+constexpr OUString IU4 = u".uno:CloseFrame"_ustr;
+constexpr OUString IU5 = u".uno:SaveAs"_ustr;
const uno::Sequence< OUString > Interceptor::m_aInterceptedURL{ IU0, IU1, IU2, IU3, IU4, IU5};