diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 10:30:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-20 10:35:44 +0200 |
commit | 96cbf1a4c3093a4cc339da68907f67f9a30f3916 (patch) | |
tree | 3d14fa75d1c187484420eb4741d1e3c19246e2df /svtools/source/config/fontsubstconfig.cxx | |
parent | 74a6ce486b13f33380959ae58a40300bb84082f2 (diff) |
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: svtools
Change-Id: Ib4d0e05b802776c682676a7bdaebb5123f6c5013
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158224
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools/source/config/fontsubstconfig.cxx')
-rw-r--r-- | svtools/source/config/fontsubstconfig.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/config/fontsubstconfig.cxx b/svtools/source/config/fontsubstconfig.cxx index 6d7323bb0d44..66a7a4e038ef 100644 --- a/svtools/source/config/fontsubstconfig.cxx +++ b/svtools/source/config/fontsubstconfig.cxx @@ -32,13 +32,13 @@ using namespace com::sun::star::uno; using namespace com::sun::star::beans; -constexpr OUStringLiteral cReplacement = u"Replacement"; -constexpr OUStringLiteral cFontPairs = u"FontPairs"; +constexpr OUString cReplacement = u"Replacement"_ustr; +constexpr OUString cFontPairs = u"FontPairs"_ustr; -constexpr OUStringLiteral cReplaceFont = u"ReplaceFont"; -constexpr OUStringLiteral cSubstituteFont= u"SubstituteFont"; -constexpr OUStringLiteral cOnScreenOnly = u"OnScreenOnly"; -constexpr OUStringLiteral cAlways = u"Always"; +constexpr OUString cReplaceFont = u"ReplaceFont"_ustr; +constexpr OUString cSubstituteFont= u"SubstituteFont"_ustr; +constexpr OUString cOnScreenOnly = u"OnScreenOnly"_ustr; +constexpr OUString cAlways = u"Always"_ustr; namespace svtools { |