From bd6fb0cd3eee3c7d414e55a7678c0097aadc7646 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Oct 2023 16:39:09 +0200 Subject: Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]String ...in include files. This is a mix of automatic rewriting in include files and manual fixups (mostly addressing loplugin:redundantfcast) in source files that include those. Change-Id: I1f3cc1e67b9cabd2e9d61a4d9e9a01e587ea35cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158337 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- lotuswordpro/source/filter/lwpfootnote.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lotuswordpro') diff --git a/lotuswordpro/source/filter/lwpfootnote.hxx b/lotuswordpro/source/filter/lwpfootnote.hxx index b1743df94d41..80cba1d65641 100644 --- a/lotuswordpro/source/filter/lwpfootnote.hxx +++ b/lotuswordpro/source/filter/lwpfootnote.hxx @@ -87,13 +87,13 @@ #define FN_DIVISIONGROUP_SEPARATE (FN_BASE_DIVISIONGROUP | FN_MASK_SEPARATE) #define FN_DOCUMENT (FN_BASE_DOCUMENT) #define FN_DOCUMENT_SEPARATE (FN_BASE_DOCUMENT | FN_MASK_SEPARATE) -inline constexpr OUStringLiteral STRID_FOOTCONTINUEDFROM = u"Continued from previous page..."; -inline constexpr OUStringLiteral STRID_FOOTCONTINUEDON = u"Continued on next page..."; +inline constexpr OUString STRID_FOOTCONTINUEDFROM = u"Continued from previous page..."_ustr; +inline constexpr OUString STRID_FOOTCONTINUEDON = u"Continued on next page..."_ustr; //Footnote table types, the string may have to do with local language -inline constexpr OUStringLiteral STR_DivisionFootnote = u"DivisionFootnote"; -inline constexpr OUStringLiteral STR_DivisionEndnote = u"DivisionEndnote"; -inline constexpr OUStringLiteral STR_DivisionGroupEndnote = u"DivisionGroupEndnote"; -inline constexpr OUStringLiteral STR_DocumentEndnote = u"DocumentEndnote"; +inline constexpr OUString STR_DivisionFootnote = u"DivisionFootnote"_ustr; +inline constexpr OUString STR_DivisionEndnote = u"DivisionEndnote"_ustr; +inline constexpr OUString STR_DivisionGroupEndnote = u"DivisionGroupEndnote"_ustr; +inline constexpr OUString STR_DocumentEndnote = u"DocumentEndnote"_ustr; /** * @brief Footnote frib object -- cgit