Kaydet (Commit) d12c8a0f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:unnecessaryoverride (dtors) in dbaccess

Change-Id: I22cf2fec8e543582a32b9a4f00221f1b2d864f7a
üst 7aeeb77c
......@@ -211,17 +211,12 @@ namespace
virtual Reference< XPropertySet > SAL_CALL createDataAccessDescriptor( ) throw (RuntimeException, std::exception) override;
DataAccessDescriptorFactory();
virtual ~DataAccessDescriptorFactory() override;
};
DataAccessDescriptorFactory::DataAccessDescriptorFactory()
{
}
DataAccessDescriptorFactory::~DataAccessDescriptorFactory()
{
}
OUString SAL_CALL DataAccessDescriptorFactory::getImplementationName() throw (RuntimeException, std::exception)
{
return OUString( "com.sun.star.comp.dba.DataAccessDescriptorFactory" );
......
......@@ -69,9 +69,6 @@ public:
:m_aErrors( _rxContext )
{
}
virtual ~LocalNameApproval() override
{
}
void SAL_CALL approveElement( const OUString& _rName, const Reference< XInterface >& _rxElement ) override;
};
......
......@@ -233,7 +233,6 @@ private:
DECL_LINK( OnStartTableWizard, void*, void );
public:
explicit DBContentLoader(const Reference< XComponentContext >&);
virtual ~DBContentLoader() override;
// XServiceInfo
OUString SAL_CALL getImplementationName() throw(std::exception ) override;
......@@ -267,11 +266,6 @@ DBContentLoader::DBContentLoader(const Reference< XComponentContext >& _rxFactor
}
DBContentLoader::~DBContentLoader()
{
}
Reference< XInterface > SAL_CALL DBContentLoader::Create( const Reference< XMultiServiceFactory > & rSMgr )
{
return *(new DBContentLoader( comphelper::getComponentContext(rSMgr) ));
......
......@@ -71,7 +71,6 @@ private:
Reference< XComponentContext > m_xContext;
public:
explicit DBContentLoader(const Reference< XComponentContext >&);
virtual ~DBContentLoader() override;
// XServiceInfo
OUString SAL_CALL getImplementationName() throw(std::exception ) override;
......@@ -101,11 +100,6 @@ DBContentLoader::DBContentLoader(const Reference< XComponentContext >& _rxContex
}
DBContentLoader::~DBContentLoader()
{
}
extern "C" void SAL_CALL createRegistryInfo_DBContentLoader()
{
static ::dbaui::OMultiInstanceAutoRegistration< DBContentLoader > aAutoRegistration;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment