diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-26 11:23:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-26 13:55:07 +0100 |
commit | 547cb22e1a4ad5c39f116eb74b74baf7a729d2e9 (patch) | |
tree | 41b3259aa5e487aa27aac1ba72d4e72762d8c844 /include/svtools/genericunodialog.hxx | |
parent | 91ce3455cfe1c850dd9780c41e6253cb940af1e9 (diff) |
loplugin:stringliteraldefine in stoc,svtools
Change-Id: Ifd583582fa7bf7366a1f8d482eefd64b30228ca8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125867
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools/genericunodialog.hxx')
-rw-r--r-- | include/svtools/genericunodialog.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/genericunodialog.hxx b/include/svtools/genericunodialog.hxx index e87dc9518f46..467a52382363 100644 --- a/include/svtools/genericunodialog.hxx +++ b/include/svtools/genericunodialog.hxx @@ -44,8 +44,8 @@ namespace svt #define UNODIALOG_PROPERTY_ID_TITLE 1 #define UNODIALOG_PROPERTY_ID_PARENT 2 -#define UNODIALOG_PROPERTY_TITLE "Title" -#define UNODIALOG_PROPERTY_PARENT "ParentWindow" +inline constexpr OUStringLiteral UNODIALOG_PROPERTY_TITLE = u"Title"; +inline constexpr OUStringLiteral UNODIALOG_PROPERTY_PARENT = u"ParentWindow"; typedef cppu::WeakImplHelper< css::ui::dialogs::XExecutableDialog, css::lang::XServiceInfo, |