loplugin:unnecessaryoverride (dtors) in comphelper

Change-Id: I13ebc4efa7f8bd0d3732ed65e397c710ae65d14e
This commit is contained in:
Stephan Bergmann 2016-11-28 14:14:04 +01:00
parent 3d9c3ed1af
commit 0c59e2ddd6
7 changed files with 0 additions and 37 deletions

View file

@ -35,7 +35,6 @@ class IndexedPropertyValuesContainer : public cppu::WeakImplHelper< container::X
{
public:
IndexedPropertyValuesContainer() throw();
virtual ~IndexedPropertyValuesContainer() throw() override;
// XIndexContainer
virtual void SAL_CALL insertByIndex( sal_Int32 nIndex, const css::uno::Any& aElement )
@ -76,10 +75,6 @@ IndexedPropertyValuesContainer::IndexedPropertyValuesContainer() throw()
{
}
IndexedPropertyValuesContainer::~IndexedPropertyValuesContainer() throw()
{
}
// XIndexContainer
void SAL_CALL IndexedPropertyValuesContainer::insertByIndex( sal_Int32 nIndex, const css::uno::Any& aElement )
throw(css::lang::IllegalArgumentException, css::lang::IndexOutOfBoundsException,

View file

@ -36,7 +36,6 @@ class NamedPropertyValuesContainer : public cppu::WeakImplHelper< container::XNa
{
public:
NamedPropertyValuesContainer() throw();
virtual ~NamedPropertyValuesContainer() throw() override;
// XNameContainer
virtual void SAL_CALL insertByName( const OUString& aName, const css::uno::Any& aElement )
@ -79,10 +78,6 @@ NamedPropertyValuesContainer::NamedPropertyValuesContainer() throw()
{
}
NamedPropertyValuesContainer::~NamedPropertyValuesContainer() throw()
{
}
// XNameContainer
void SAL_CALL NamedPropertyValuesContainer::insertByName( const OUString& aName, const uno::Any& aElement )
throw(css::lang::IllegalArgumentException, css::container::ElementExistException,

View file

@ -42,7 +42,6 @@ namespace comphelper
{
public:
explicit NameContainer( css::uno::Type aType );
virtual ~NameContainer() override;
// XNameContainer
virtual void SAL_CALL insertByName( const OUString& aName, const css::uno::Any& aElement )
@ -90,10 +89,6 @@ NameContainer::NameContainer( css::uno::Type aType )
{
}
NameContainer::~NameContainer()
{
}
// XNameContainer
void SAL_CALL NameContainer::insertByName( const OUString& aName, const Any& aElement )
throw(IllegalArgumentException, ElementExistException,

View file

@ -95,7 +95,6 @@ class ImplEventAttacherManager
public:
ImplEventAttacherManager( const Reference< XIntrospection > & rIntrospection,
const Reference< XComponentContext >& rContext );
virtual ~ImplEventAttacherManager() override;
// Methods of XEventAttacherManager
virtual void SAL_CALL registerScriptEvent(sal_Int32 Index, const ScriptEventDescriptor& ScriptEvent)
@ -380,11 +379,6 @@ ImplEventAttacherManager::ImplEventAttacherManager( const Reference< XIntrospect
}
}
ImplEventAttacherManager::~ImplEventAttacherManager()
{
}
Reference< XIdlReflection > ImplEventAttacherManager::getReflection() throw( Exception )
{
Guard< Mutex > aGuard( aLock );

View file

@ -63,7 +63,6 @@ namespace comphelper
public:
explicit GenericPropertySet( PropertySetInfo* pInfo ) throw();
virtual ~GenericPropertySet() throw() override;
// XInterface
virtual Any SAL_CALL queryAggregation( const Type & rType ) throw( RuntimeException, std::exception) override;
@ -94,9 +93,6 @@ GenericPropertySet::GenericPropertySet( PropertySetInfo* pInfo ) throw()
{
}
GenericPropertySet::~GenericPropertySet() throw()
{
}
void SAL_CALL GenericPropertySet::addPropertyChangeListener( const OUString& aPropertyName, const Reference< XPropertyChangeListener >& xListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
Reference < XPropertySetInfo > xInfo = getPropertySetInfo( );

View file

@ -45,7 +45,6 @@ class UNOMemoryStream : public WeakImplHelper<XServiceInfo, XStream, XSeekableIn
{
public:
UNOMemoryStream();
virtual ~UNOMemoryStream() override;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override;
@ -86,10 +85,6 @@ UNOMemoryStream::UNOMemoryStream()
{
}
UNOMemoryStream::~UNOMemoryStream()
{
}
// XServiceInfo
OUString SAL_CALL UNOMemoryStream::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{

View file

@ -70,7 +70,6 @@ public:
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > const & GetParsingResult();
explicit OFOPXMLHelper_Impl( sal_uInt16 nFormat ); // must not be created directly
virtual ~OFOPXMLHelper_Impl() override;
// XDocumentHandler
virtual void SAL_CALL startDocument() throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
@ -277,12 +276,6 @@ OFOPXMLHelper_Impl::OFOPXMLHelper_Impl( sal_uInt16 nFormat )
{
}
OFOPXMLHelper_Impl::~OFOPXMLHelper_Impl()
{
}
uno::Sequence< uno::Sequence< beans::StringPair > > const & OFOPXMLHelper_Impl::GetParsingResult()
{
if ( m_aElementsSeq.size() )