summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-25 14:53:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-26 09:45:44 +0100
commita916adba23e81c8c661369d2c06fbe9c6714d9c2 (patch)
tree21d643a0376c29a4fb5efcdcdef6ccd75f7b1b57 /lotuswordpro
parent6dfcabf54a86f7204b4924718a930be5d13b1eeb (diff)
loplugin:stringliteraldefine in l10ntools..oox
Change-Id: Ia19d247f3cf439405c05a53c4cf2c9d0e7344560 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125811 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpfootnote.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/lotuswordpro/source/filter/lwpfootnote.hxx b/lotuswordpro/source/filter/lwpfootnote.hxx
index 5163204e39ea..b1743df94d41 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)
-#define STRID_FOOTCONTINUEDFROM "Continued from previous page..."
-#define STRID_FOOTCONTINUEDON "Continued on next page..."
+inline constexpr OUStringLiteral STRID_FOOTCONTINUEDFROM = u"Continued from previous page...";
+inline constexpr OUStringLiteral STRID_FOOTCONTINUEDON = u"Continued on next page...";
//Footnote table types, the string may have to do with local language
-#define STR_DivisionFootnote "DivisionFootnote"
-#define STR_DivisionEndnote "DivisionEndnote"
-#define STR_DivisionGroupEndnote "DivisionGroupEndnote"
-#define STR_DocumentEndnote "DocumentEndnote"
+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";
/**
* @brief Footnote frib object