diff --git a/comphelper/source/property/genericpropertyset.cxx b/comphelper/source/property/genericpropertyset.cxx index 43714950e603..88415c4fafab 100644 --- a/comphelper/source/property/genericpropertyset.cxx +++ b/comphelper/source/property/genericpropertyset.cxx @@ -31,9 +31,6 @@ #include #include #include -#include - - using namespace ::rtl; using namespace ::osl; @@ -242,15 +239,10 @@ uno::Sequence< uno::Type > SAL_CALL GenericPropertySet::getTypes() return aTypes; } -namespace -{ - class theGenericPropertySetImplmentationId : public rtl::Static< UnoTunnelIdInit, theGenericPropertySetImplmentationId > {}; -} - uno::Sequence< sal_Int8 > SAL_CALL GenericPropertySet::getImplementationId() throw (uno::RuntimeException, std::exception) { - return theGenericPropertySetImplmentationId::get().getSeq(); + return css::uno::Sequence(); } // XServiceInfo diff --git a/comphelper/source/property/propstate.cxx b/comphelper/source/property/propstate.cxx index 839b0e57f3f9..6c21c1627b84 100644 --- a/comphelper/source/property/propstate.cxx +++ b/comphelper/source/property/propstate.cxx @@ -21,8 +21,6 @@ #include #include #include -#include - namespace comphelper { @@ -203,13 +201,9 @@ namespace comphelper ); } - namespace { struct lcl_ImplId : public rtl::Static< ::cppu::OImplementationId, lcl_ImplId > {}; } - - Sequence< sal_Int8 > SAL_CALL OStatefulPropertySet::getImplementationId() throw(RuntimeException, std::exception) { - ::cppu::OImplementationId &rID = lcl_ImplId::get(); - return rID.getImplementationId(); + return css::uno::Sequence(); } diff --git a/include/comphelper/uno3.hxx b/include/comphelper/uno3.hxx index e04585de17a3..643e5c12d8d0 100644 --- a/include/comphelper/uno3.hxx +++ b/include/comphelper/uno3.hxx @@ -189,13 +189,9 @@ namespace comphelper virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw (::com::sun::star::uno::RuntimeException, std::exception); #define IMPLEMENT_GET_IMPLEMENTATION_ID( classname ) \ - namespace \ - { \ - class the##classname##ImplementationId : public rtl::Static< ::cppu::OImplementationId, the##classname##ImplementationId> {}; \ - } \ ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL classname::getImplementationId( ) throw (::com::sun::star::uno::RuntimeException, std::exception) \ { \ - return the##classname##ImplementationId::get().getImplementationId(); \ + return css::uno::Sequence(); \ } #define IMPLEMENT_FORWARD_XTYPEPROVIDER2( classname, baseclass1, baseclass2 ) \