diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 11:46:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:22 +0200 |
commit | 373f352ef2f39965b4ef830acfc1554f8e2e3abf (patch) | |
tree | eb0b7044d57a2e72a461e2ffd2ae370d4f52760e /forms/source/component/FormComponent.cxx | |
parent | 316be1b6f18963b39aab7729bf93fc9c86519e33 (diff) |
remove unnecessary use of OUString constructor in FORMS module
Change-Id: Ibbf477e99ba0c07a9138497496442b0f9296f5c3
Diffstat (limited to 'forms/source/component/FormComponent.cxx')
-rw-r--r-- | forms/source/component/FormComponent.cxx | 4 |
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(), |