summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-11 11:27:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-11 11:27:02 +0100
commit3dbea89a72f8cbce190310c3187ce870c783c03b (patch)
tree2aa1f95adc3684c51ba7dcc9440e41e29b8c774f /forms
parent44960f43f50bfa9ed76e9153d23d98f6f0d5665a (diff)
Some loplugin:conststringvar/stringconstant improvements: forms
Change-Id: Iec2be8c9ddbdf8d5d8bc1054c20a0bd40707262a
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/propertysetbase.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/propertysetbase.hxx b/forms/source/xforms/propertysetbase.hxx
index 4408f8a23c94..7d9f6b6a337c 100644
--- a/forms/source/xforms/propertysetbase.hxx
+++ b/forms/source/xforms/propertysetbase.hxx
@@ -346,7 +346,7 @@ public:
#define PROPERTY_FLAGS( NAME, TYPE, FLAG ) css::beans::Property( \
- OUString( #NAME, sizeof( #NAME ) - 1, RTL_TEXTENCODING_ASCII_US ), \
+ #NAME, \
HANDLE_##NAME, cppu::UnoType<TYPE>::get(), FLAG )
#define PROPERTY( NAME, TYPE ) PROPERTY_FLAGS( NAME, TYPE, css::beans::PropertyAttribute::BOUND )
#define PROPERTY_RO( NAME, TYPE ) PROPERTY_FLAGS( NAME, TYPE, css::beans::PropertyAttribute::BOUND | css::beans::PropertyAttribute::READONLY )