summaryrefslogtreecommitdiff
path: root/svx/source/unodraw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-02 11:14:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-02 11:14:51 +0100
commit6eb60ca80115c35fbfce2789146e485835e7709e (patch)
tree16f1a2367eda914ef3a63cd0881888bcc27500c8 /svx/source/unodraw
parent0e513fdc44c36df54949628d7497345cff804f59 (diff)
loplugin:unnecessaryoverride (dtors) in svx
Change-Id: Icc4d9919cedadc00f1420939564dd095fab74cca
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r--svx/source/unodraw/UnoGraphicExporter.cxx10
-rw-r--r--svx/source/unodraw/UnoNamespaceMap.cxx5
-rw-r--r--svx/source/unodraw/XPropertyTable.cxx6
-rw-r--r--svx/source/unodraw/gluepts.cxx5
-rw-r--r--svx/source/unodraw/recoveryui.cxx9
-rw-r--r--svx/source/unodraw/unobtabl.cxx5
-rw-r--r--svx/source/unodraw/unodtabl.cxx5
-rw-r--r--svx/source/unodraw/unogtabl.cxx5
-rw-r--r--svx/source/unodraw/unohtabl.cxx5
-rw-r--r--svx/source/unodraw/unomod.cxx5
-rw-r--r--svx/source/unodraw/unoshcol.cxx6
-rw-r--r--svx/source/unodraw/unottabl.cxx5
12 files changed, 0 insertions, 71 deletions
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index deedad6885b5..2a852fce9c3b 100644
--- a/svx/source/unodraw/UnoGraphicExporter.cxx
+++ b/svx/source/unodraw/UnoGraphicExporter.cxx
@@ -140,7 +140,6 @@ namespace {
{
public:
GraphicExporter();
- virtual ~GraphicExporter() override;
// XFilter
virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& aDescriptor ) throw(RuntimeException, std::exception) override;
@@ -283,7 +282,6 @@ class ImplExportCheckVisisbilityRedirector : public sdr::contact::ViewObjectCont
{
public:
explicit ImplExportCheckVisisbilityRedirector( SdrPage* pCurrentPage );
- virtual ~ImplExportCheckVisisbilityRedirector() override;
virtual drawinglayer::primitive2d::Primitive2DContainer createRedirectedPrimitive2DSequence(
const sdr::contact::ViewObjectContact& rOriginal,
@@ -298,10 +296,6 @@ ImplExportCheckVisisbilityRedirector::ImplExportCheckVisisbilityRedirector( SdrP
{
}
-ImplExportCheckVisisbilityRedirector::~ImplExportCheckVisisbilityRedirector()
-{
-}
-
drawinglayer::primitive2d::Primitive2DContainer ImplExportCheckVisisbilityRedirector::createRedirectedPrimitive2DSequence(
const sdr::contact::ViewObjectContact& rOriginal,
const sdr::contact::DisplayInfo& rDisplayInfo)
@@ -333,10 +327,6 @@ GraphicExporter::GraphicExporter()
{
}
-GraphicExporter::~GraphicExporter()
-{
-}
-
IMPL_LINK(GraphicExporter, CalcFieldValueHdl, EditFieldInfo*, pInfo, void)
{
if( pInfo )
diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx
index e542d61c0a42..548865e0d01a 100644
--- a/svx/source/unodraw/UnoNamespaceMap.cxx
+++ b/svx/source/unodraw/UnoNamespaceMap.cxx
@@ -55,7 +55,6 @@ namespace svx
public:
NamespaceMap( sal_uInt16* pWhichIds, SfxItemPool* pPool );
- virtual ~NamespaceMap() override;
// XNameAccess
virtual Any SAL_CALL getByName( const OUString& aName ) throw (NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override;
@@ -186,10 +185,6 @@ NamespaceMap::NamespaceMap( sal_uInt16* pWhichIds, SfxItemPool* pPool )
{
}
-NamespaceMap::~NamespaceMap()
-{
-}
-
// XNameAccess
Any SAL_CALL NamespaceMap::getByName( const OUString& aName ) throw (NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
{
diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx
index 83a64e915c3d..2b1f57904915 100644
--- a/svx/source/unodraw/XPropertyTable.cxx
+++ b/svx/source/unodraw/XPropertyTable.cxx
@@ -53,8 +53,6 @@ private:
public:
SvxUnoXPropertyTable( sal_Int16 nWhich, XPropertyList* pList ) throw();
- virtual ~SvxUnoXPropertyTable() throw() override;
-
virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw(uno::RuntimeException) = 0;
virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const throw(uno::RuntimeException, lang::IllegalArgumentException) = 0;
@@ -82,10 +80,6 @@ SvxUnoXPropertyTable::SvxUnoXPropertyTable( sal_Int16 nWhich, XPropertyList* pLi
{
}
-SvxUnoXPropertyTable::~SvxUnoXPropertyTable() throw()
-{
-}
-
const XPropertyEntry* SvxUnoXPropertyTable::get(long index) const
{
if( mpList )
diff --git a/svx/source/unodraw/gluepts.cxx b/svx/source/unodraw/gluepts.cxx
index b70c6d734645..150d5beafa34 100644
--- a/svx/source/unodraw/gluepts.cxx
+++ b/svx/source/unodraw/gluepts.cxx
@@ -42,7 +42,6 @@ private:
public:
explicit SvxUnoGluePointAccess( SdrObject* pObject ) throw();
- virtual ~SvxUnoGluePointAccess() throw() override;
// XIdentifierContainer
virtual sal_Int32 SAL_CALL insert( const uno::Any& aElement ) throw (lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override;
@@ -196,10 +195,6 @@ SvxUnoGluePointAccess::SvxUnoGluePointAccess( SdrObject* pObject ) throw()
{
}
-SvxUnoGluePointAccess::~SvxUnoGluePointAccess() throw()
-{
-}
-
// XIdentifierContainer
sal_Int32 SAL_CALL SvxUnoGluePointAccess::insert( const uno::Any& aElement ) throw (lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
diff --git a/svx/source/unodraw/recoveryui.cxx b/svx/source/unodraw/recoveryui.cxx
index 0404e397fcc6..90ab28488885 100644
--- a/svx/source/unodraw/recoveryui.cxx
+++ b/svx/source/unodraw/recoveryui.cxx
@@ -78,11 +78,6 @@ class RecoveryUI : public ::cppu::WeakImplHelper< css::lang::XServiceInfo
/** @short TODO */
explicit RecoveryUI(const css::uno::Reference< css::uno::XComponentContext >& xContext);
-
- /** @short TODO */
- virtual ~RecoveryUI() override;
-
-
// css.lang.XServiceInfo
virtual OUString SAL_CALL getImplementationName()
@@ -120,10 +115,6 @@ RecoveryUI::RecoveryUI(const css::uno::Reference< css::uno::XComponentContext >&
{
}
-RecoveryUI::~RecoveryUI()
-{
-}
-
OUString SAL_CALL RecoveryUI::getImplementationName()
throw(css::uno::RuntimeException, std::exception)
{
diff --git a/svx/source/unodraw/unobtabl.cxx b/svx/source/unodraw/unobtabl.cxx
index f2f927ff3eac..388c2e49c974 100644
--- a/svx/source/unodraw/unobtabl.cxx
+++ b/svx/source/unodraw/unobtabl.cxx
@@ -39,7 +39,6 @@ class SvxUnoBitmapTable : public SvxUnoNameItemTable
{
public:
explicit SvxUnoBitmapTable( SdrModel* pModel ) throw();
- virtual ~SvxUnoBitmapTable() throw() override;
virtual NameOrIndex* createItem() const throw() override;
virtual bool isValid( const NameOrIndex* pItem ) const override;
@@ -57,10 +56,6 @@ SvxUnoBitmapTable::SvxUnoBitmapTable( SdrModel* pModel ) throw()
{
}
-SvxUnoBitmapTable::~SvxUnoBitmapTable() throw()
-{
-}
-
bool SvxUnoBitmapTable::isValid( const NameOrIndex* pItem ) const
{
if( SvxUnoNameItemTable::isValid( pItem ) )
diff --git a/svx/source/unodraw/unodtabl.cxx b/svx/source/unodraw/unodtabl.cxx
index 07ebbb3a164c..5574ec29bf90 100644
--- a/svx/source/unodraw/unodtabl.cxx
+++ b/svx/source/unodraw/unodtabl.cxx
@@ -37,7 +37,6 @@ class SvxUnoDashTable : public SvxUnoNameItemTable
{
public:
explicit SvxUnoDashTable( SdrModel* pModel ) throw();
- virtual ~SvxUnoDashTable() throw() override;
virtual NameOrIndex* createItem() const throw() override;
@@ -54,10 +53,6 @@ SvxUnoDashTable::SvxUnoDashTable( SdrModel* pModel ) throw()
{
}
-SvxUnoDashTable::~SvxUnoDashTable() throw()
-{
-}
-
OUString SAL_CALL SvxUnoDashTable::getImplementationName() throw( uno::RuntimeException, std::exception )
{
return OUString("SvxUnoDashTable");
diff --git a/svx/source/unodraw/unogtabl.cxx b/svx/source/unodraw/unogtabl.cxx
index 82519d2651b6..148bc63148c0 100644
--- a/svx/source/unodraw/unogtabl.cxx
+++ b/svx/source/unodraw/unogtabl.cxx
@@ -36,7 +36,6 @@ class SvxUnoGradientTable : public SvxUnoNameItemTable
{
public:
explicit SvxUnoGradientTable( SdrModel* pModel ) throw();
- virtual ~SvxUnoGradientTable() throw() override;
virtual NameOrIndex* createItem() const throw() override;
@@ -53,10 +52,6 @@ SvxUnoGradientTable::SvxUnoGradientTable( SdrModel* pModel ) throw()
{
}
-SvxUnoGradientTable::~SvxUnoGradientTable() throw()
-{
-}
-
OUString SAL_CALL SvxUnoGradientTable::getImplementationName() throw( uno::RuntimeException, std::exception )
{
return OUString("SvxUnoGradientTable");
diff --git a/svx/source/unodraw/unohtabl.cxx b/svx/source/unodraw/unohtabl.cxx
index 0bdd10aaffff..dcfda9772a50 100644
--- a/svx/source/unodraw/unohtabl.cxx
+++ b/svx/source/unodraw/unohtabl.cxx
@@ -36,7 +36,6 @@ class SvxUnoHatchTable : public SvxUnoNameItemTable
{
public:
explicit SvxUnoHatchTable( SdrModel* pModel ) throw();
- virtual ~SvxUnoHatchTable() throw() override;
virtual NameOrIndex* createItem() const throw() override;
@@ -53,10 +52,6 @@ SvxUnoHatchTable::SvxUnoHatchTable( SdrModel* pModel ) throw()
{
}
-SvxUnoHatchTable::~SvxUnoHatchTable() throw()
-{
-}
-
OUString SAL_CALL SvxUnoHatchTable::getImplementationName() throw( uno::RuntimeException, std::exception )
{
return OUString("SvxUnoHatchTable");
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx
index 40f02f2f1349..55033c62f5ac 100644
--- a/svx/source/unodraw/unomod.cxx
+++ b/svx/source/unodraw/unomod.cxx
@@ -73,7 +73,6 @@ private:
public:
explicit SvxUnoDrawPagesAccess( SvxUnoDrawingModel& rMyModel ) throw();
- virtual ~SvxUnoDrawPagesAccess() throw() override;
// XDrawPages
virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL insertNewByIndex( sal_Int32 nIndex ) throw(css::uno::RuntimeException, std::exception) override;
@@ -577,10 +576,6 @@ SvxUnoDrawPagesAccess::SvxUnoDrawPagesAccess( SvxUnoDrawingModel& rMyModel ) th
{
}
-SvxUnoDrawPagesAccess::~SvxUnoDrawPagesAccess() throw()
-{
-}
-
// XIndexAccess
sal_Int32 SAL_CALL SvxUnoDrawPagesAccess::getCount()
throw(uno::RuntimeException, std::exception)
diff --git a/svx/source/unodraw/unoshcol.cxx b/svx/source/unodraw/unoshcol.cxx
index d2849121475c..7ab047df4472 100644
--- a/svx/source/unodraw/unoshcol.cxx
+++ b/svx/source/unodraw/unoshcol.cxx
@@ -53,7 +53,6 @@ private:
public:
SvxShapeCollection() throw();
- virtual ~SvxShapeCollection() throw() override;
// XInterface
virtual void SAL_CALL release() throw() override;
@@ -86,11 +85,6 @@ SvxShapeCollection::SvxShapeCollection() throw()
{
}
-
-SvxShapeCollection::~SvxShapeCollection() throw()
-{
-}
-
// XInterface
void SvxShapeCollection::release() throw()
{
diff --git a/svx/source/unodraw/unottabl.cxx b/svx/source/unodraw/unottabl.cxx
index bf856ed22a95..f2f9f58a1e61 100644
--- a/svx/source/unodraw/unottabl.cxx
+++ b/svx/source/unodraw/unottabl.cxx
@@ -36,7 +36,6 @@ class SvxUnoTransGradientTable : public SvxUnoNameItemTable
{
public:
explicit SvxUnoTransGradientTable( SdrModel* pModel ) throw();
- virtual ~SvxUnoTransGradientTable() throw() override;
virtual NameOrIndex* createItem() const throw() override;
@@ -53,10 +52,6 @@ SvxUnoTransGradientTable::SvxUnoTransGradientTable( SdrModel* pModel ) throw()
{
}
-SvxUnoTransGradientTable::~SvxUnoTransGradientTable() throw()
-{
-}
-
OUString SAL_CALL SvxUnoTransGradientTable::getImplementationName() throw( uno::RuntimeException, std::exception )
{
return OUString("SvxUnoTransGradientTable");