diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 10:30:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-20 15:28:25 +0200 |
commit | a841ac096f2794405408ef64189de2c77971c3e6 (patch) | |
tree | 020598516b2e6ba68411b0f6ac958b22160badd0 /sw/source/uibase/sidebar | |
parent | a98000c028a3c68329fdb2047f51f8d271b2290c (diff) |
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: sw
Change-Id: I85fff7ed6932c5fc196e18f24fa01074ba4837e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158241
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/uibase/sidebar')
-rw-r--r-- | sw/source/uibase/sidebar/PageMarginControl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/sidebar/PageMarginControl.cxx b/sw/source/uibase/sidebar/PageMarginControl.cxx index ffeebc15d140..06e073a75c24 100644 --- a/sw/source/uibase/sidebar/PageMarginControl.cxx +++ b/sw/source/uibase/sidebar/PageMarginControl.cxx @@ -43,11 +43,11 @@ #include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/frame/XFrame.hpp> -constexpr OUStringLiteral SWPAGE_LEFT_GVALUE = u"Sw_Page_Left"; -constexpr OUStringLiteral SWPAGE_RIGHT_GVALUE = u"Sw_Page_Right"; -constexpr OUStringLiteral SWPAGE_TOP_GVALUE = u"Sw_Page_Top"; -constexpr OUStringLiteral SWPAGE_DOWN_GVALUE = u"Sw_Page_Down"; -constexpr OUStringLiteral SWPAGE_MIRROR_GVALUE = u"Sw_Page_Mirrored"; +constexpr OUString SWPAGE_LEFT_GVALUE = u"Sw_Page_Left"_ustr; +constexpr OUString SWPAGE_RIGHT_GVALUE = u"Sw_Page_Right"_ustr; +constexpr OUString SWPAGE_TOP_GVALUE = u"Sw_Page_Top"_ustr; +constexpr OUString SWPAGE_DOWN_GVALUE = u"Sw_Page_Down"_ustr; +constexpr OUString SWPAGE_MIRROR_GVALUE = u"Sw_Page_Mirrored"_ustr; namespace { |