summaryrefslogtreecommitdiff
path: root/scripting/source/basprov
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:29:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:30 +0100
commitb9def20cea8d8364ac1fa14aaf1da775128f0fd3 (patch)
treef34f50c24fc26f865ed27226b0f47549ae3f0025 /scripting/source/basprov
parent43c8ca3f995fed8cf9fbfc6bc5ef2b779cd0a154 (diff)
scripting: Use appropriate OUString functions on string constants
Change-Id: Iacb434225e779de4911e9acc8431662f5eabcee3
Diffstat (limited to 'scripting/source/basprov')
-rw-r--r--scripting/source/basprov/basmethnode.cxx2
-rw-r--r--scripting/source/basprov/basprov.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx
index 6a7b3428f352..a3a29897e49b 100644
--- a/scripting/source/basprov/basmethnode.cxx
+++ b/scripting/source/basprov/basmethnode.cxx
@@ -44,7 +44,7 @@ using namespace ::sf_misc;
#define BASPROV_PROPERTY_ID_EDITABLE 2
#define BASPROV_PROPERTY_URI OUString( "URI" )
-#define BASPROV_PROPERTY_EDITABLE OUString( "Editable" )
+#define BASPROV_PROPERTY_EDITABLE "Editable"
#define BASPROV_DEFAULT_ATTRIBS() PropertyAttribute::BOUND | PropertyAttribute::TRANSIENT | PropertyAttribute::READONLY
diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx
index 843beef04a50..0dc0722fcc17 100644
--- a/scripting/source/basprov/basprov.cxx
+++ b/scripting/source/basprov/basprov.cxx
@@ -226,7 +226,7 @@ namespace basprov
if ( !( aArguments[0] >>= m_sScriptingContext ) )
{
throw IllegalArgumentException(
- OUString( "BasicProviderImpl::initialize: incorrect argument type " ) + aArguments[0].getValueTypeName(),
+ "BasicProviderImpl::initialize: incorrect argument type " + aArguments[0].getValueTypeName(),
*this,
1
);