diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 13:08:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 17:39:54 +0100 |
commit | 2f3be987324f0ca3c3b4c9b167b6d76b6e1d5612 (patch) | |
tree | c41e23876a7fe46d2f290474a85c27866fa75e21 /dbaccess | |
parent | 3aaaab3db773148e246f6fa48da0da4c755b65a9 (diff) |
dbaccess: simplify deprecated XTypeProvider.getImplementationId
Required some clean-up of getImplementationId vs. getUnoTunnelImplementationId
confusion.
Change-Id: I645dd80d24efe7ed5224b220911eed8ad880b7c0
Diffstat (limited to 'dbaccess')
29 files changed, 46 insertions, 215 deletions
diff --git a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java index 6102084f48a3..3ab8920c4c69 100644 --- a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java +++ b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java @@ -128,7 +128,7 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document. public byte[] getImplementationId() { - return getClass().toString().getBytes(); + return new byte[0]; } }; diff --git a/dbaccess/source/core/api/CRowSetDataColumn.cxx b/dbaccess/source/core/api/CRowSetDataColumn.cxx index 77f608db3e03..c9bf7a10de06 100644 --- a/dbaccess/source/core/api/CRowSetDataColumn.cxx +++ b/dbaccess/source/core/api/CRowSetDataColumn.cxx @@ -174,17 +174,7 @@ sal_Bool SAL_CALL ORowSetDataColumn::convertFastPropertyValue( Any & rConvertedV Sequence< sal_Int8 > ORowSetDataColumn::getImplementationId() throw (RuntimeException, std::exception) { - static OImplementationId * pId = 0; - if (! pId) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if (! pId) - { - static OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } void ORowSetDataColumn::fireValueChange(const ORowSetValue& _rOldValue) diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx index b518b755dbed..d81cb19a3890 100644 --- a/dbaccess/source/core/api/RowSet.cxx +++ b/dbaccess/source/core/api/RowSet.cxx @@ -424,17 +424,7 @@ Sequence< Type > SAL_CALL ORowSet::getTypes() throw (RuntimeException, std::exce Sequence< sal_Int8 > SAL_CALL ORowSet::getImplementationId() throw (RuntimeException, std::exception) { - static OImplementationId * pId = 0; - if (! pId) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if (! pId) - { - static OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } // com::sun::star::XInterface @@ -456,12 +446,27 @@ void SAL_CALL ORowSet::release() throw() // com::sun::star::XUnoTunnel sal_Int64 SAL_CALL ORowSet::getSomething( const Sequence< sal_Int8 >& rId ) throw(RuntimeException, std::exception) { - if (rId.getLength() == 16 && 0 == memcmp(getImplementationId().getConstArray(), rId.getConstArray(), 16 ) ) + if (rId.getLength() == 16 && 0 == memcmp(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) ) return reinterpret_cast<sal_Int64>(this); return 0; } +Sequence< sal_Int8 > ORowSet::getUnoTunnelImplementationId() +{ + static ::cppu::OImplementationId * pId = 0; + if (! pId) + { + ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); + if (! pId) + { + static ::cppu::OImplementationId aId; + pId = &aId; + } + } + return pId->getImplementationId(); +} + // com::sun::star::XAggregation Any SAL_CALL ORowSet::queryAggregation( const Type& rType ) throw(RuntimeException, std::exception) { diff --git a/dbaccess/source/core/api/RowSet.hxx b/dbaccess/source/core/api/RowSet.hxx index 15cabab6dc97..e11fea5c3161 100644 --- a/dbaccess/source/core/api/RowSet.hxx +++ b/dbaccess/source/core/api/RowSet.hxx @@ -258,6 +258,7 @@ namespace dbaccess // com::sun::star::lang::XUnoTunnel virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception); + static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId(); // com::sun::star::uno::XAggregation virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException, std::exception); @@ -484,7 +485,7 @@ namespace dbaccess virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception); virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) { - return getUnoTunnelImplementationId(); + return css::uno::Sequence<sal_Int8>(); } // com::sun::star::uno::XInterface diff --git a/dbaccess/source/core/api/TableDeco.cxx b/dbaccess/source/core/api/TableDeco.cxx index 1df78f3c8232..00f042c4a64d 100644 --- a/dbaccess/source/core/api/TableDeco.cxx +++ b/dbaccess/source/core/api/TableDeco.cxx @@ -82,18 +82,7 @@ ODBTableDecorator::~ODBTableDecorator() Sequence< sal_Int8 > ODBTableDecorator::getImplementationId() throw (RuntimeException, std::exception) { - SAL_INFO("dbaccess", "ODBTableDecorator::getImplementationId" ); - static OImplementationId * pId = 0; - if (! pId) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if (! pId) - { - static OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } // OComponentHelper diff --git a/dbaccess/source/core/api/callablestatement.cxx b/dbaccess/source/core/api/callablestatement.cxx index fd3464ab1be3..d4d42b32db72 100644 --- a/dbaccess/source/core/api/callablestatement.cxx +++ b/dbaccess/source/core/api/callablestatement.cxx @@ -45,18 +45,7 @@ Sequence< Type > OCallableStatement::getTypes() throw (RuntimeException, std::ex Sequence< sal_Int8 > OCallableStatement::getImplementationId() throw (RuntimeException, std::exception) { - SAL_INFO("dbaccess", "OCallableStatement::getImplementationId" ); - static OImplementationId * pId = 0; - if (! pId) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if (! pId) - { - static OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } // com::sun::star::uno::XInterface diff --git a/dbaccess/source/core/api/datacolumn.cxx b/dbaccess/source/core/api/datacolumn.cxx index 99287a958e48..8811b7329a80 100644 --- a/dbaccess/source/core/api/datacolumn.cxx +++ b/dbaccess/source/core/api/datacolumn.cxx @@ -66,17 +66,7 @@ Sequence< Type > ODataColumn::getTypes() throw (RuntimeException, std::exception Sequence< sal_Int8 > ODataColumn::getImplementationId() throw (RuntimeException, std::exception) { - static OImplementationId * pId = 0; - if (! pId) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if (! pId) - { - static OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } Any SAL_CALL ODataColumn::queryInterface( const Type & _rType ) throw (RuntimeException, std::exception) diff --git a/dbaccess/source/core/api/preparedstatement.cxx b/dbaccess/source/core/api/preparedstatement.cxx index f0d5a566f8c1..182212862c72 100644 --- a/dbaccess/source/core/api/preparedstatement.cxx +++ b/dbaccess/source/core/api/preparedstatement.cxx @@ -77,17 +77,7 @@ Sequence< Type > OPreparedStatement::getTypes() throw (RuntimeException, std::ex Sequence< sal_Int8 > OPreparedStatement::getImplementationId() throw (RuntimeException, std::exception) { - static OImplementationId * pId = 0; - if (! pId) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if (! pId) - { - static OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } // com::sun::star::uno::XInterface diff --git a/dbaccess/source/core/api/querycomposer.cxx b/dbaccess/source/core/api/querycomposer.cxx index 0e09c0a7fa73..9724c960aeae 100644 --- a/dbaccess/source/core/api/querycomposer.cxx +++ b/dbaccess/source/core/api/querycomposer.cxx @@ -94,18 +94,7 @@ Sequence< Type > SAL_CALL OQueryComposer::getTypes() throw (RuntimeException, st Sequence< sal_Int8 > SAL_CALL OQueryComposer::getImplementationId() throw (RuntimeException, std::exception) { - SAL_INFO("dbaccess", "OQueryComposer::getImplementationId" ); - static OImplementationId * pId = 0; - if (! pId) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if (! pId) - { - static OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } Any SAL_CALL OQueryComposer::queryInterface( const Type & rType ) throw(RuntimeException, std::exception) diff --git a/dbaccess/source/core/api/querydescriptor.cxx b/dbaccess/source/core/api/querydescriptor.cxx index cdc2cad7159d..c9137a02ac07 100644 --- a/dbaccess/source/core/api/querydescriptor.cxx +++ b/dbaccess/source/core/api/querydescriptor.cxx @@ -146,7 +146,7 @@ sal_Int64 SAL_CALL OQueryDescriptor_Base::getSomething( const Sequence< sal_Int8 if (_rIdentifier.getLength() != 16) return 0; - if (0 == memcmp(getImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ) ) + if (0 == memcmp(getUnoTunnelImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ) ) return reinterpret_cast<sal_Int64>(this); return 0; diff --git a/dbaccess/source/core/api/resultcolumn.cxx b/dbaccess/source/core/api/resultcolumn.cxx index bbd22db15b31..b7aedc26a4e8 100644 --- a/dbaccess/source/core/api/resultcolumn.cxx +++ b/dbaccess/source/core/api/resultcolumn.cxx @@ -103,17 +103,7 @@ OResultColumn::~OResultColumn() // com::sun::star::lang::XTypeProvider Sequence< sal_Int8 > OResultColumn::getImplementationId() throw (RuntimeException, std::exception) { - static OImplementationId * pId = 0; - if (! pId) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if (! pId) - { - static OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } // XServiceInfo diff --git a/dbaccess/source/core/api/resultset.cxx b/dbaccess/source/core/api/resultset.cxx index 36a2a089a8be..1cc22b2b1a88 100644 --- a/dbaccess/source/core/api/resultset.cxx +++ b/dbaccess/source/core/api/resultset.cxx @@ -113,18 +113,7 @@ Sequence< Type > OResultSet::getTypes() throw (RuntimeException, std::exception) Sequence< sal_Int8 > OResultSet::getImplementationId() throw (RuntimeException, std::exception) { - SAL_INFO("dbaccess", "OResultSet::getImplementationId" ); - static OImplementationId * pId = 0; - if (! pId) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if (! pId) - { - static OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } // com::sun::star::uno::XInterface diff --git a/dbaccess/source/core/api/table.cxx b/dbaccess/source/core/api/table.cxx index 61a29ac3bd7b..048990576130 100644 --- a/dbaccess/source/core/api/table.cxx +++ b/dbaccess/source/core/api/table.cxx @@ -140,18 +140,7 @@ void ODBTable::columnDropped(const OUString& _sName) Sequence< sal_Int8 > ODBTable::getImplementationId() throw (RuntimeException, std::exception) { - SAL_INFO("dbaccess", "ODBTable::getImplementationId" ); - static OImplementationId * pId = 0; - if (! pId) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if (! pId) - { - static OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } // OComponentHelper diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx index bfa38040c5f2..2ab39b11a9c6 100644 --- a/dbaccess/source/core/dataaccess/connection.cxx +++ b/dbaccess/source/core/dataaccess/connection.cxx @@ -444,8 +444,7 @@ Sequence< Type > OConnection::getTypes() throw (RuntimeException, std::exception Sequence< sal_Int8 > OConnection::getImplementationId() throw (RuntimeException, std::exception) { - SAL_INFO("dbaccess", "OConnection::getImplementationId" ); - return getUnoTunnelImplementationId(); + return css::uno::Sequence<sal_Int8>(); } // com::sun::star::uno::XInterface diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx index 6928d4752a76..1008e3c754ac 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.cxx +++ b/dbaccess/source/core/dataaccess/databasedocument.cxx @@ -283,17 +283,7 @@ Sequence< Type > SAL_CALL ODatabaseDocument::getTypes( ) throw (RuntimeExceptio Sequence< sal_Int8 > SAL_CALL ODatabaseDocument::getImplementationId( ) throw (RuntimeException, std::exception) { - static ::cppu::OImplementationId * pId = 0; - if (! pId) - { - ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); - if (! pId) - { - static ::cppu::OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } // local functions diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx index c1bca69075f8..b45f3738d6b2 100644 --- a/dbaccess/source/core/dataaccess/datasource.cxx +++ b/dbaccess/source/core/dataaccess/datasource.cxx @@ -528,18 +528,7 @@ Sequence< Type > ODatabaseSource::getTypes() throw (RuntimeException, std::excep Sequence< sal_Int8 > ODatabaseSource::getImplementationId() throw (RuntimeException, std::exception) { - SAL_INFO("dbaccess", "ODatabaseSource::getImplementationId" ); - static OImplementationId * pId = 0; - if (! pId) - { - MutexGuard aGuard( Mutex::getGlobalMutex() ); - if (! pId) - { - static OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } // com::sun::star::uno::XInterface diff --git a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx index 43f8adcb59b9..c3e637f3e455 100644 --- a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx +++ b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx @@ -132,17 +132,7 @@ namespace dbmm Sequence< sal_Int8 > SAL_CALL MacroMigrationDialogService::getImplementationId() throw(RuntimeException, std::exception) { - static ::cppu::OImplementationId* pId = NULL; - if ( !pId ) - { - ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); - if ( !pId ) - { - static ::cppu::OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } OUString SAL_CALL MacroMigrationDialogService::getImplementationName_static() throw(RuntimeException) diff --git a/dbaccess/source/inc/apitools.hxx b/dbaccess/source/inc/apitools.hxx index 7468e672b62c..7c52fec36d41 100644 --- a/dbaccess/source/inc/apitools.hxx +++ b/dbaccess/source/inc/apitools.hxx @@ -224,7 +224,7 @@ public: } \ ::com::sun::star::uno::Sequence< sal_Int8 > classname::getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) \ { \ - return classname::getUnoTunnelImplementationId(); \ + return css::uno::Sequence<sal_Int8>(); \ } #define IMPLEMENT_GETTYPES2( classname, baseclass1, baseclass2 ) \ diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx index 2f13b0867f66..b52472d1c205 100644 --- a/dbaccess/source/ui/browser/brwctrlr.cxx +++ b/dbaccess/source/ui/browser/brwctrlr.cxx @@ -515,18 +515,7 @@ Sequence< Type > SAL_CALL SbaXDataBrowserController::getTypes( ) throw (Runtime Sequence< sal_Int8 > SAL_CALL SbaXDataBrowserController::getImplementationId( ) throw (RuntimeException, std::exception) { - SAL_INFO("dbaccess.ui", "SbaXDataBrowserController::getImplementationId" ); - static ::cppu::OImplementationId * pId = 0; - if (! pId) - { - ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); - if (! pId) - { - static ::cppu::OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } Any SAL_CALL SbaXDataBrowserController::queryInterface(const Type& _rType) throw (RuntimeException, std::exception) diff --git a/dbaccess/source/ui/browser/formadapter.cxx b/dbaccess/source/ui/browser/formadapter.cxx index ddf391759e3b..53f0b282703f 100644 --- a/dbaccess/source/ui/browser/formadapter.cxx +++ b/dbaccess/source/ui/browser/formadapter.cxx @@ -72,17 +72,7 @@ Sequence< Type > SAL_CALL SbaXFormAdapter::getTypes( ) throw (RuntimeException, Sequence< sal_Int8 > SAL_CALL SbaXFormAdapter::getImplementationId( ) throw (RuntimeException, std::exception) { - static ::cppu::OImplementationId * pId = 0; - if (! pId) - { - ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); - if (! pId) - { - static ::cppu::OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } Any SAL_CALL SbaXFormAdapter::queryInterface(const Type& _rType) throw (RuntimeException, std::exception) diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx index 83d21fea74bc..11dbe6ef06b9 100644 --- a/dbaccess/source/ui/browser/sbagrid.cxx +++ b/dbaccess/source/ui/browser/sbagrid.cxx @@ -187,17 +187,7 @@ Sequence< Type > SAL_CALL SbaXGridControl::getTypes( ) throw (RuntimeException, Sequence< sal_Int8 > SAL_CALL SbaXGridControl::getImplementationId( ) throw (RuntimeException, std::exception) { - static ::cppu::OImplementationId * pId = 0; - if (! pId) - { - ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); - if (! pId) - { - static ::cppu::OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } void SAL_CALL SbaXGridControl::createPeer(const Reference< ::com::sun::star::awt::XToolkit > & rToolkit, const Reference< ::com::sun::star::awt::XWindowPeer > & rParentPeer) throw( RuntimeException, std::exception ) diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index 0a439b14be61..2a332e24e450 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -276,17 +276,7 @@ Sequence< Type > SAL_CALL SbaTableQueryBrowser::getTypes( ) throw (RuntimeExcep Sequence< sal_Int8 > SAL_CALL SbaTableQueryBrowser::getImplementationId( ) throw (RuntimeException, std::exception) { - static ::cppu::OImplementationId * pId = 0; - if (! pId) - { - ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); - if (! pId) - { - static ::cppu::OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } void SAL_CALL SbaTableQueryBrowser::disposing() diff --git a/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx b/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx index c49daaa33385..716134eb32cb 100644 --- a/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx +++ b/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx @@ -69,8 +69,7 @@ namespace dbaui } Sequence<sal_Int8> SAL_CALL OAdvancedSettingsDialog::getImplementationId( ) throw(RuntimeException, std::exception) { - static ::cppu::OImplementationId aId; - return aId.getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } Reference< XInterface > SAL_CALL OAdvancedSettingsDialog::Create(const Reference< XMultiServiceFactory >& _rxFactory) diff --git a/dbaccess/source/ui/uno/DBTypeWizDlg.cxx b/dbaccess/source/ui/uno/DBTypeWizDlg.cxx index dd5362d9eecf..230f6b04c985 100644 --- a/dbaccess/source/ui/uno/DBTypeWizDlg.cxx +++ b/dbaccess/source/ui/uno/DBTypeWizDlg.cxx @@ -43,8 +43,7 @@ ODBTypeWizDialog::ODBTypeWizDialog(const Reference< XComponentContext >& _rxORB) Sequence<sal_Int8> SAL_CALL ODBTypeWizDialog::getImplementationId( ) throw(RuntimeException, std::exception) { - static ::cppu::OImplementationId aId; - return aId.getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } Reference< XInterface > SAL_CALL ODBTypeWizDialog::Create(const Reference< XMultiServiceFactory >& _rxFactory) diff --git a/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx b/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx index 73f6e4a2f815..130bd126f265 100644 --- a/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx +++ b/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx @@ -57,8 +57,7 @@ ODBTypeWizDialogSetup::ODBTypeWizDialogSetup(const Reference< XComponentContext Sequence<sal_Int8> SAL_CALL ODBTypeWizDialogSetup::getImplementationId( ) throw(RuntimeException, std::exception) { - static ::cppu::OImplementationId aId; - return aId.getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } Reference< XInterface > SAL_CALL ODBTypeWizDialogSetup::Create(const Reference< XMultiServiceFactory >& _rxFactory) diff --git a/dbaccess/source/ui/uno/TableFilterDlg.cxx b/dbaccess/source/ui/uno/TableFilterDlg.cxx index 0b1c071ed84a..6c4594da4367 100644 --- a/dbaccess/source/ui/uno/TableFilterDlg.cxx +++ b/dbaccess/source/ui/uno/TableFilterDlg.cxx @@ -43,8 +43,7 @@ OTableFilterDialog::OTableFilterDialog(const Reference< XComponentContext >& _rx Sequence<sal_Int8> SAL_CALL OTableFilterDialog::getImplementationId( ) throw(RuntimeException, std::exception) { - static ::cppu::OImplementationId aId; - return aId.getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } Reference< XInterface > SAL_CALL OTableFilterDialog::Create(const Reference< XMultiServiceFactory >& _rxFactory) diff --git a/dbaccess/source/ui/uno/UserSettingsDlg.cxx b/dbaccess/source/ui/uno/UserSettingsDlg.cxx index 3b056137fdfa..79ea8974ef72 100644 --- a/dbaccess/source/ui/uno/UserSettingsDlg.cxx +++ b/dbaccess/source/ui/uno/UserSettingsDlg.cxx @@ -43,8 +43,7 @@ OUserSettingsDialog::OUserSettingsDialog(const Reference< XComponentContext >& _ Sequence<sal_Int8> SAL_CALL OUserSettingsDialog::getImplementationId( ) throw(RuntimeException, std::exception) { - static ::cppu::OImplementationId aId; - return aId.getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } Reference< XInterface > SAL_CALL OUserSettingsDialog::Create(const Reference< XMultiServiceFactory >& _rxFactory) diff --git a/dbaccess/source/ui/uno/admindlg.cxx b/dbaccess/source/ui/uno/admindlg.cxx index 89b11f7f2f54..6f1a781aaef8 100644 --- a/dbaccess/source/ui/uno/admindlg.cxx +++ b/dbaccess/source/ui/uno/admindlg.cxx @@ -43,8 +43,7 @@ ODataSourcePropertyDialog::ODataSourcePropertyDialog(const Reference< XComponent Sequence<sal_Int8> SAL_CALL ODataSourcePropertyDialog::getImplementationId( ) throw(RuntimeException, std::exception) { - static ::cppu::OImplementationId aId; - return aId.getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } Reference< XInterface > SAL_CALL ODataSourcePropertyDialog::Create(const Reference< XMultiServiceFactory >& _rxFactory) diff --git a/dbaccess/source/ui/uno/unosqlmessage.cxx b/dbaccess/source/ui/uno/unosqlmessage.cxx index bdbb3e10aeac..a4beaa6a75ea 100644 --- a/dbaccess/source/ui/uno/unosqlmessage.cxx +++ b/dbaccess/source/ui/uno/unosqlmessage.cxx @@ -54,8 +54,7 @@ OSQLMessageDialog::OSQLMessageDialog(const Reference< XComponentContext >& _rxOR Sequence<sal_Int8> SAL_CALL OSQLMessageDialog::getImplementationId( ) throw(RuntimeException, std::exception) { - static ::cppu::OImplementationId aId; - return aId.getImplementationId(); + return css::uno::Sequence<sal_Int8>(); } Reference< XInterface > SAL_CALL OSQLMessageDialog::Create(const Reference< XMultiServiceFactory >& _rxFactory) |