diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 10:30:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 23:20:14 +0200 |
commit | f290768698b24e0d4e7cbf29d6255dc083f02001 (patch) | |
tree | 83e712663808f44cd56c37fcc5ab9f13063bcb4e /hwpfilter | |
parent | c9a522a383bb5dea92f46b462302eb7ab521f34b (diff) |
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: hwpfilter
Change-Id: I49a08f7102ad6669a5f307c412d07a8040249b12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158201
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpreader.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index 8ff1ba1d7541..450e582ca504 100644 --- a/hwpfilter/source/hwpreader.cxx +++ b/hwpfilter/source/hwpreader.cxx @@ -45,7 +45,7 @@ #include <sal/log.hxx> // xmloff/xmlkyd.hxx -constexpr OUStringLiteral sXML_CDATA = u"CDATA"; +constexpr OUString sXML_CDATA = u"CDATA"_ustr; namespace { @@ -53,7 +53,7 @@ double WTI(double x) { return x / 1800.; } // unit => inch double WTMM(double x) { return x / 1800. * 25.4; } // unit => mm int WTSM(double x) { return x / 1800. * 2540; } // unit ==> 1/100 mm -constexpr OUStringLiteral sBeginOfDoc(u"[\uBB38\uC11C\uC758 \uCC98\uC74C]"); +constexpr OUString sBeginOfDoc(u"[\uBB38\uC11C\uC758 \uCC98\uC74C]"_ustr); // U+BB38 HANGUL SYLLABLE MUN, U+C11C HANGUL SYLLABLE SEO, // U+C758 HANGUL SYLLABLE YI, U+CC98 HANGUL SYLLABLE CEO, // U+C74C HANGUL SYLLABLE EUM: "Begin of Document" @@ -4719,8 +4719,8 @@ namespace { constexpr OUStringLiteral IMPLEMENTATION_NAME = u"com.sun.comp.hwpimport.HwpImportFilter"; -constexpr OUStringLiteral SERVICE_NAME1 = u"com.sun.star.document.ImportFilter"; -constexpr OUStringLiteral SERVICE_NAME2 = u"com.sun.star.document.ExtendedTypeDetection"; +constexpr OUString SERVICE_NAME1 = u"com.sun.star.document.ImportFilter"_ustr; +constexpr OUString SERVICE_NAME2 = u"com.sun.star.document.ExtendedTypeDetection"_ustr; class HwpImportFilter : public WeakImplHelper< XFilter, XImporter, XServiceInfo, XExtendedFilterDetection > { |