From 3dbea89a72f8cbce190310c3187ce870c783c03b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 11 Jan 2017 11:27:02 +0100 Subject: Some loplugin:conststringvar/stringconstant improvements: forms Change-Id: Iec2be8c9ddbdf8d5d8bc1054c20a0bd40707262a --- forms/source/xforms/propertysetbase.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forms') 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::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 ) -- cgit v1.2.3