diff options
author | Noel Grandin <noel@peralex.com> | 2013-03-27 14:20:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-04-23 16:05:56 +0200 |
commit | 1165aac95b8e44f41fc16a44bfec4c1c05801ac8 (patch) | |
tree | 7887802f0d1ba62ab95bad1c6fe8ebf323c87a91 /forms/source/component/FormsCollection.cxx | |
parent | fdo#46808, convert drawing::ColorTable to new style (diff) | |
download | core-1165aac95b8e44f41fc16a44bfec4c1c05801ac8.tar.gz core-1165aac95b8e44f41fc16a44bfec4c1c05801ac8.zip |
fdo#46808, convert form::Forms to new style
Change-Id: I966ed18d45dc8a04c97a703d3c83382714025f2c
Diffstat (limited to 'forms/source/component/FormsCollection.cxx')
-rw-r--r-- | forms/source/component/FormsCollection.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/FormsCollection.cxx b/forms/source/component/FormsCollection.cxx index f1dfbd688e31..1da85ce08828 100644 --- a/forms/source/component/FormsCollection.cxx +++ b/forms/source/component/FormsCollection.cxx @@ -46,7 +46,7 @@ InterfaceRef SAL_CALL OFormsCollection_CreateInstance(const Reference<XMultiServ //------------------------------------------------------------------------------ OUString SAL_CALL OFormsCollection::getServiceName() throw(RuntimeException) { - return OUString(FRM_SUN_FORMS_COLLECTION); + return OUString("com.sun.star.form.Forms"); } //------------------------------------------------------------------------------ @@ -127,7 +127,7 @@ StringSequence SAL_CALL OFormsCollection::getSupportedServiceNames() throw(Runti { StringSequence aReturn(2); - aReturn.getArray()[0] = FRM_SUN_FORMS_COLLECTION; + aReturn.getArray()[0] = OUString("com.sun.star.form.Forms"); aReturn.getArray()[1] = OUString("com.sun.star.form.FormComponents"); return aReturn; @@ -141,7 +141,7 @@ Reference< XCloneable > SAL_CALL OFormsCollection::createClone( ) throw (Runtim osl_atomic_increment( &pClone->m_refCount ); pClone->clonedFrom( *this ); osl_atomic_decrement( &pClone->m_refCount ); - return pClone; + return static_cast<OInterfaceContainer*>(pClone); } // OComponentHelper |