summaryrefslogtreecommitdiff
path: root/forms/source/component/FormComponent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/FormComponent.cxx')
-rw-r--r--forms/source/component/FormComponent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index 7a23644b173a..627e5535c62d 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -759,7 +759,7 @@ Sequence< OUString > SAL_CALL OControlModel::getSupportedServiceNames_Static() t
{
Sequence< OUString > aServiceNames( 2 );
aServiceNames[ 0 ] = FRM_SUN_FORMCOMPONENT;
- aServiceNames[ 1 ] = OUString("com.sun.star.form.FormControlModel");
+ aServiceNames[ 1 ] = "com.sun.star.form.FormControlModel";
return aServiceNames;
}
@@ -1671,7 +1671,7 @@ StringSequence SAL_CALL OBoundControlModel::getSupportedServiceNames() throw(Run
Sequence< OUString > SAL_CALL OBoundControlModel::getSupportedServiceNames_Static() throw( RuntimeException )
{
Sequence< OUString > aOwnServiceNames( 1 );
- aOwnServiceNames[ 0 ] = OUString("com.sun.star.form.DataAwareControlModel");
+ aOwnServiceNames[ 0 ] = "com.sun.star.form.DataAwareControlModel";
return ::comphelper::concatSequences(
OControlModel::getSupportedServiceNames_Static(),