diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 12:32:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 12:32:43 +0100 |
commit | 729c70a2429753ea438b193de6fced88cac2b0fb (patch) | |
tree | dc3f008fbfde91cc857b843ace25ce01bcd2d73b /scripting/source | |
parent | dec34f5421fd4324a395978cdb87d2cb46c66007 (diff) |
loplugin:stringconstant: elide explicit ctor usage (manually due to macros)
Change-Id: Ib023c89256d50ebe15231a96f6106f60198d362e
Diffstat (limited to 'scripting/source')
-rw-r--r-- | scripting/source/basprov/basmethnode.cxx | 2 | ||||
-rw-r--r-- | scripting/source/basprov/basscript.cxx | 2 | ||||
-rw-r--r-- | scripting/source/vbaevents/eventhelper.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx index 9bfa752ee2d7..9fe6d521fb3e 100644 --- a/scripting/source/basprov/basmethnode.cxx +++ b/scripting/source/basprov/basmethnode.cxx @@ -43,7 +43,7 @@ using namespace ::sf_misc; #define BASPROV_PROPERTY_ID_URI 1 #define BASPROV_PROPERTY_ID_EDITABLE 2 -#define BASPROV_PROPERTY_URI OUString( "URI" ) +#define BASPROV_PROPERTY_URI "URI" #define BASPROV_PROPERTY_EDITABLE "Editable" #define BASPROV_DEFAULT_ATTRIBS() PropertyAttribute::BOUND | PropertyAttribute::TRANSIENT | PropertyAttribute::READONLY diff --git a/scripting/source/basprov/basscript.cxx b/scripting/source/basprov/basscript.cxx index 3e5186fa8d9e..ec621d23bc3d 100644 --- a/scripting/source/basprov/basscript.cxx +++ b/scripting/source/basprov/basscript.cxx @@ -47,7 +47,7 @@ namespace basprov { #define BASSCRIPT_PROPERTY_ID_CALLER 1 -#define BASSCRIPT_PROPERTY_CALLER OUString( "Caller" ) +#define BASSCRIPT_PROPERTY_CALLER "Caller" #define BASSCRIPT_DEFAULT_ATTRIBS() PropertyAttribute::BOUND | PropertyAttribute::TRANSIENT diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx index 75e85bed2475..7c2dba47dc85 100644 --- a/scripting/source/vbaevents/eventhelper.cxx +++ b/scripting/source/vbaevents/eventhelper.cxx @@ -560,7 +560,7 @@ private: typedef ::cppu::WeakImplHelper< XScriptListener, util::XCloseListener, lang::XInitialization, css::lang::XServiceInfo > EventListener_BASE; #define EVENTLSTNR_PROPERTY_ID_MODEL 1 -#define EVENTLSTNR_PROPERTY_MODEL OUString( "Model" ) +#define EVENTLSTNR_PROPERTY_MODEL "Model" class EventListener : public EventListener_BASE ,public ::comphelper::OMutexAndBroadcastHelper |