summaryrefslogtreecommitdiff
path: root/basctl/source/inc/dlgeddef.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-18 14:01:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-18 19:46:19 +0100
commit0011ed25344673d441e2ac59f455428b27fea9d3 (patch)
treea54d6b660f64f73d5b1154606b6db4e8eb363b2d /basctl/source/inc/dlgeddef.hxx
parenta1b1f5a472497e04d315323e429f06fa55c19c71 (diff)
loplugin:stringliteraldefine in basctl
Change-Id: Id9f1d2932b5f602602d0229b8dc9794c01f5cbb2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125277 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl/source/inc/dlgeddef.hxx')
-rw-r--r--basctl/source/inc/dlgeddef.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/basctl/source/inc/dlgeddef.hxx b/basctl/source/inc/dlgeddef.hxx
index 0cb0a6dc8573..511575a4b9ee 100644
--- a/basctl/source/inc/dlgeddef.hxx
+++ b/basctl/source/inc/dlgeddef.hxx
@@ -26,20 +26,20 @@ namespace basctl
// control properties
#define DLGED_PROP_BACKGROUNDCOLOR "BackgroundColor"
-#define DLGED_PROP_DROPDOWN "Dropdown"
-#define DLGED_PROP_FORMATSSUPPLIER "FormatsSupplier"
-#define DLGED_PROP_HEIGHT "Height"
-#define DLGED_PROP_LABEL "Label"
-#define DLGED_PROP_NAME "Name"
-#define DLGED_PROP_ORIENTATION "Orientation"
-#define DLGED_PROP_POSITIONX "PositionX"
-#define DLGED_PROP_POSITIONY "PositionY"
-#define DLGED_PROP_STEP "Step"
-#define DLGED_PROP_TABINDEX "TabIndex"
+inline constexpr OUStringLiteral DLGED_PROP_DROPDOWN = u"Dropdown";
+inline constexpr OUStringLiteral DLGED_PROP_FORMATSSUPPLIER = u"FormatsSupplier";
+inline constexpr OUStringLiteral DLGED_PROP_HEIGHT = u"Height";
+inline constexpr OUStringLiteral DLGED_PROP_LABEL = u"Label";
+inline constexpr OUStringLiteral DLGED_PROP_NAME = u"Name";
+inline constexpr OUStringLiteral DLGED_PROP_ORIENTATION = u"Orientation";
+inline constexpr OUStringLiteral DLGED_PROP_POSITIONX = u"PositionX";
+inline constexpr OUStringLiteral DLGED_PROP_POSITIONY = u"PositionY";
+inline constexpr OUStringLiteral DLGED_PROP_STEP = u"Step";
+inline constexpr OUStringLiteral DLGED_PROP_TABINDEX = u"TabIndex";
#define DLGED_PROP_TEXTCOLOR "TextColor"
#define DLGED_PROP_TEXTLINECOLOR "TextLineColor"
-#define DLGED_PROP_WIDTH "Width"
-#define DLGED_PROP_DECORATION "Decoration"
+inline constexpr OUStringLiteral DLGED_PROP_WIDTH = u"Width";
+inline constexpr OUStringLiteral DLGED_PROP_DECORATION = u"Decoration";
} // namespace basctl