summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-26 13:48:47 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-05 08:17:25 -0500
commitab087a1254cf8074b2cf14cb8eee1cbdfd1b1f3e (patch)
tree8643bce7ebec585fd822a206d14e49979e14ebc3
parentbee92c6f9c42336dc4ae0b26dcc20b3d6c2ab3fe (diff)
loplugin: unnecessary destructor vbahelper..vcl
Reviewed-on: https://gerrit.libreoffice.org/33577 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 32a461bdd6ffda4b59ff262e1fcbcbe8bf2be7a0) Change-Id: I6b7800d4a456391251168f7923a1ec7a5ca9efc9 (cherry picked from commit 6a734daa02e7d816bf924465e53765b811a517d5)
-rw-r--r--include/vbahelper/vbadialogbase.hxx1
-rw-r--r--include/vbahelper/vbadialogsbase.hxx1
-rw-r--r--include/vbahelper/vbadocumentbase.hxx1
-rw-r--r--include/vbahelper/vbadocumentsbase.hxx1
-rw-r--r--include/vbahelper/vbapagesetupbase.hxx1
-rw-r--r--include/vbahelper/vbatextframe.hxx1
-rw-r--r--include/vcl/lazydelete.hxx2
-rw-r--r--include/vcl/print.hxx1
-rw-r--r--include/vcl/salctype.hxx1
-rw-r--r--vbahelper/source/msforms/vbapages.hxx1
-rw-r--r--vcl/headless/svpglyphcache.cxx3
-rw-r--r--vcl/inc/BitmapScaleConvolution.hxx3
-rw-r--r--vcl/inc/controldata.hxx4
-rw-r--r--vcl/inc/svmconverter.hxx1
-rw-r--r--vcl/inc/unx/gendata.hxx1
-rw-r--r--vcl/inc/unx/i18n_xkb.hxx6
-rw-r--r--vcl/source/app/svapp.cxx2
-rw-r--r--vcl/source/control/button.cxx5
-rw-r--r--vcl/source/control/edit.cxx5
-rw-r--r--vcl/source/fontsubset/cff.cxx6
-rw-r--r--vcl/source/gdi/dibtools.cxx12
-rw-r--r--vcl/source/gdi/impvect.cxx5
-rw-r--r--vcl/source/gdi/pdffontcache.hxx1
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx1
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx3
-rw-r--r--vcl/source/window/dockingarea.cxx5
-rw-r--r--vcl/source/window/dockwin.cxx5
-rw-r--r--vcl/source/window/floatwin.cxx5
-rw-r--r--vcl/source/window/menubarwindow.hxx1
-rw-r--r--vcl/source/window/popupmenuwindow.cxx5
-rw-r--r--vcl/source/window/status.cxx5
-rw-r--r--vcl/source/window/syswin.cxx5
-rw-r--r--vcl/source/window/toolbox.cxx5
-rw-r--r--vcl/unx/generic/app/i18n_im.cxx5
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.hxx1
-rw-r--r--vcl/unx/generic/printer/ppdparser.cxx1
36 files changed, 0 insertions, 112 deletions
diff --git a/include/vbahelper/vbadialogbase.hxx b/include/vbahelper/vbadialogbase.hxx
index 81ef6613dc0d..70b2d1a40fb0 100644
--- a/include/vbahelper/vbadialogbase.hxx
+++ b/include/vbahelper/vbadialogbase.hxx
@@ -49,7 +49,6 @@ protected:
css::uno::Reference< css::frame::XModel > m_xModel;
public:
VbaDialogBase( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::frame::XModel >& xModel, sal_Int32 nIndex ):VbaDialogBase_BASE( xParent, xContext ), mnIndex( nIndex ), m_xModel( xModel ) {}
- virtual ~VbaDialogBase() override {}
// Methods
virtual void SAL_CALL Show() throw (css::uno::RuntimeException, std::exception) override;
diff --git a/include/vbahelper/vbadialogsbase.hxx b/include/vbahelper/vbadialogsbase.hxx
index 5fc8255a6156..1c4733b2d392 100644
--- a/include/vbahelper/vbadialogsbase.hxx
+++ b/include/vbahelper/vbadialogsbase.hxx
@@ -48,7 +48,6 @@ protected:
css::uno::Reference< css::frame::XModel > m_xModel;
public:
VbaDialogsBase( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XModel >& xModel ): VbaDialogsBase_BASE( xParent, xContext ), m_xModel( xModel ) {}
- virtual ~VbaDialogsBase() override {}
// XCollection
virtual ::sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException, std::exception) override;
diff --git a/include/vbahelper/vbadocumentbase.hxx b/include/vbahelper/vbadocumentbase.hxx
index ca1f49db415c..7542311404ec 100644
--- a/include/vbahelper/vbadocumentbase.hxx
+++ b/include/vbahelper/vbadocumentbase.hxx
@@ -56,7 +56,6 @@ public:
VbaDocumentBase( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext,
css::uno::Reference< css::frame::XModel > const & xModel );
VbaDocumentBase( css::uno::Sequence< css::uno::Any > const& aArgs, css::uno::Reference< css::uno::XComponentContext >const& xContext );
- virtual ~VbaDocumentBase() override {}
// Attributes
virtual OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) override;
diff --git a/include/vbahelper/vbadocumentsbase.hxx b/include/vbahelper/vbadocumentsbase.hxx
index 4f592c5f455d..94974a1cb2cf 100644
--- a/include/vbahelper/vbadocumentsbase.hxx
+++ b/include/vbahelper/vbadocumentsbase.hxx
@@ -60,7 +60,6 @@ private:
public:
VbaDocumentsBase( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, DOCUMENT_TYPE eDocType ) throw (css::uno::RuntimeException);
- virtual ~VbaDocumentsBase() override {}
// XEnumerationAccess
virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override = 0;
diff --git a/include/vbahelper/vbapagesetupbase.hxx b/include/vbahelper/vbapagesetupbase.hxx
index a012c730ad18..69bc76b63de4 100644
--- a/include/vbahelper/vbapagesetupbase.hxx
+++ b/include/vbahelper/vbapagesetupbase.hxx
@@ -52,7 +52,6 @@ protected:
VbaPageSetupBase( const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext >& xContext ) throw (css::uno::RuntimeException);
public:
- virtual ~VbaPageSetupBase() override {}
// Attribute
virtual double SAL_CALL getTopMargin() throw (css::uno::RuntimeException, std::exception) override;
diff --git a/include/vbahelper/vbatextframe.hxx b/include/vbahelper/vbatextframe.hxx
index 675a52839c54..a97b2d086282 100644
--- a/include/vbahelper/vbatextframe.hxx
+++ b/include/vbahelper/vbatextframe.hxx
@@ -57,7 +57,6 @@ protected:
void setMargin( const OUString& sMarginType, float fMargin );
public:
VbaTextFrame( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext , css::uno::Reference< css::drawing::XShape > const & xShape);
- virtual ~VbaTextFrame() override {}
// Attributes
virtual sal_Bool SAL_CALL getAutoSize() throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setAutoSize( sal_Bool _autosize ) throw (css::uno::RuntimeException, std::exception) override;
diff --git a/include/vcl/lazydelete.hxx b/include/vcl/lazydelete.hxx
index 36a76b86e62a..aef865dc234c 100644
--- a/include/vcl/lazydelete.hxx
+++ b/include/vcl/lazydelete.hxx
@@ -227,7 +227,6 @@ namespace vcl
virtual void doCleanup() override { delete m_pT; m_pT = nullptr; }
public:
DeleteOnDeinit( T* i_pT ) : m_pT( i_pT ) { addDeinitContainer( this ); }
- virtual ~DeleteOnDeinit() override {}
// get contents
T* get() { return m_pT; }
@@ -261,7 +260,6 @@ namespace vcl
public:
DeleteUnoReferenceOnDeinit(const css::uno::Reference<I>& r_xI ) : m_xI( r_xI ) {
addDeinitContainer( this ); }
- virtual ~DeleteUnoReferenceOnDeinit() override {}
css::uno::Reference<I> get() { return m_xI; }
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index a743cb0ab295..77e3034bb1c9 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -577,7 +577,6 @@ public:
/// Create without ui properties
PrinterOptionsHelper() {}
- ~PrinterOptionsHelper() {}
/** Process a new set of properties
diff --git a/include/vcl/salctype.hxx b/include/vcl/salctype.hxx
index e7afbcb02b2e..409fc5a79993 100644
--- a/include/vcl/salctype.hxx
+++ b/include/vcl/salctype.hxx
@@ -52,7 +52,6 @@ public:
ConvertData( const Graphic& rGraphic, SvStream& rStm, ConvertDataFormat nFormat ) :
maGraphic( rGraphic ), mrStm( rStm ), mnFormat( nFormat ) {}
- ~ConvertData() {}
};
typedef sal_uLong (*SALGRFCVTPROC)( void* pInst,
diff --git a/vbahelper/source/msforms/vbapages.hxx b/vbahelper/source/msforms/vbapages.hxx
index c3906dde4085..f5b11aaf4ee2 100644
--- a/vbahelper/source/msforms/vbapages.hxx
+++ b/vbahelper/source/msforms/vbapages.hxx
@@ -35,7 +35,6 @@ protected:
virtual css::uno::Sequence<OUString> getServiceNames() override;
public:
ScVbaPages( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xPages ) throw ( css::lang::IllegalArgumentException );
- virtual ~ScVbaPages() override {}
// XEnumerationAccess
virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) override;
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw (css::uno::RuntimeException) override;
diff --git a/vcl/headless/svpglyphcache.cxx b/vcl/headless/svpglyphcache.cxx
index cff68e31f337..aac6160e9748 100644
--- a/vcl/headless/svpglyphcache.cxx
+++ b/vcl/headless/svpglyphcache.cxx
@@ -47,9 +47,6 @@ namespace
{
return *m_pSvpGlyphCache;
}
- ~GlyphCacheHolder()
- {
- }
};
struct theGlyphCacheHolder :
diff --git a/vcl/inc/BitmapScaleConvolution.hxx b/vcl/inc/BitmapScaleConvolution.hxx
index e18c71fd1d0a..0ce161d611e5 100644
--- a/vcl/inc/BitmapScaleConvolution.hxx
+++ b/vcl/inc/BitmapScaleConvolution.hxx
@@ -43,9 +43,6 @@ public:
, meKernelType(eKernelType)
{}
- virtual ~BitmapScaleConvolution() override
- {}
-
virtual bool filter(Bitmap& rBitmap) override;
private:
diff --git a/vcl/inc/controldata.hxx b/vcl/inc/controldata.hxx
index 5554afc951dd..1ba107938858 100644
--- a/vcl/inc/controldata.hxx
+++ b/vcl/inc/controldata.hxx
@@ -34,10 +34,6 @@ namespace vcl
,mpReferenceDevice( nullptr )
{
}
-
- ~ImplControlData()
- {
- }
};
} // namespace vcl
diff --git a/vcl/inc/svmconverter.hxx b/vcl/inc/svmconverter.hxx
index a8ae99e1464a..bcb11dba2535 100644
--- a/vcl/inc/svmconverter.hxx
+++ b/vcl/inc/svmconverter.hxx
@@ -87,7 +87,6 @@ private:
public:
SVMConverter( SvStream& rIStm, GDIMetaFile& rMtf, sal_uLong nConvertMode );
- ~SVMConverter() {}
private:
SVMConverter( const SVMConverter& ) = delete;
diff --git a/vcl/inc/unx/gendata.hxx b/vcl/inc/unx/gendata.hxx
index 943b9193996e..00c99627bbc6 100644
--- a/vcl/inc/unx/gendata.hxx
+++ b/vcl/inc/unx/gendata.hxx
@@ -33,7 +33,6 @@ class VCL_DLLPUBLIC SalGenericData : public SalData
OUString m_aUnicodeEntry;
public:
SalGenericData( SalGenericDataType t, SalInstance *pInstance ) : SalData(), m_eType( t ), m_pDisplay( nullptr ) { m_pInstance = pInstance; SetSalData( this ); }
- virtual ~SalGenericData() override {}
virtual void Dispose() {}
SalGenericDisplay *GetDisplay() const { return m_pDisplay; }
diff --git a/vcl/inc/unx/i18n_xkb.hxx b/vcl/inc/unx/i18n_xkb.hxx
index 763e8a2b5c5d..69d0303f0309 100644
--- a/vcl/inc/unx/i18n_xkb.hxx
+++ b/vcl/inc/unx/i18n_xkb.hxx
@@ -37,7 +37,6 @@ private:
public:
SalI18N_KeyboardExtension( Display *pDisplay );
- inline ~SalI18N_KeyboardExtension();
inline bool UseExtension() const ; // server and client support the
// extension
@@ -48,11 +47,6 @@ public:
inline int GetEventBase() const ;
};
-inline
-SalI18N_KeyboardExtension::~SalI18N_KeyboardExtension()
-{
-}
-
inline bool
SalI18N_KeyboardExtension::UseExtension() const
{
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 6e70a6f04f80..b30f765a17af 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -184,8 +184,6 @@ struct ImplPostEventData
ImplPostEventData( sal_uLong nEvent, vcl::Window* pWin, const ScrollEvent& rScrollEvent ) :
mnEvent( nEvent ), mpWin( pWin ), mnEventId( 0 ), maScrollEvent( rScrollEvent ) {}
#endif
-
- ~ImplPostEventData() {}
};
Application* GetpApp()
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 1510bf54588f..7691a4c4feed 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -72,7 +72,6 @@ class ImplCommonButtonData
{
public:
ImplCommonButtonData();
- ~ImplCommonButtonData();
Rectangle maFocusRect;
long mnSeparatorX;
@@ -92,10 +91,6 @@ mbSmallSymbol(false), maImage(), meImageAlign(ImageAlign::Top), meSymbolAlign(Sy
{
}
-ImplCommonButtonData::~ImplCommonButtonData()
-{
-}
-
Button::Button( WindowType nType ) :
Control( nType ),
mpButtonData( new ImplCommonButtonData )
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index a75adfc49cf1..ceb3b095b6c8 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -124,7 +124,6 @@ struct Impl_IMEInfos
bool bWasCursorOverwrite;
Impl_IMEInfos(sal_Int32 nPos, const OUString& rOldTextAfterStartPos);
- ~Impl_IMEInfos();
void CopyAttribs(const ExtTextInputAttr* pA, sal_Int32 nL);
void DestroyAttribs();
@@ -140,10 +139,6 @@ Impl_IMEInfos::Impl_IMEInfos(sal_Int32 nP, const OUString& rOldTextAfterStartPos
bWasCursorOverwrite = false;
}
-Impl_IMEInfos::~Impl_IMEInfos()
-{
-}
-
void Impl_IMEInfos::CopyAttribs(const ExtTextInputAttr* pA, sal_Int32 nL)
{
nLen = nL;
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index cca14eda7c64..7e441eb00e84 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -322,7 +322,6 @@ public:
static const int NMAXTRANS = 32; // see CFF.appendixB
public:
explicit CffSubsetterContext( const U8* pBasePtr, int nBaseLen);
- ~CffSubsetterContext();
bool initialCffRead();
bool emitAsType1( class Type1Emitter&,
@@ -433,11 +432,6 @@ CffSubsetterContext::CffSubsetterContext( const U8* pBasePtr, int nBaseLen)
mpCffLocal = &maCffLocal[0];
}
-CffSubsetterContext::~CffSubsetterContext()
-{
- // TODO: delete[] maCffLocal;
-}
-
inline int CffSubsetterContext::popInt()
{
const ValType aVal = popVal();
diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx
index dd7a15c07fb6..990f59a58d52 100644
--- a/vcl/source/gdi/dibtools.cxx
+++ b/vcl/source/gdi/dibtools.cxx
@@ -54,9 +54,6 @@ struct CIEXYZ
aXyzY(0),
aXyzZ(0)
{}
-
- ~CIEXYZ()
- {}
};
struct CIEXYZTriple
@@ -70,9 +67,6 @@ struct CIEXYZTriple
aXyzGreen(),
aXyzBlue()
{}
-
- ~CIEXYZTriple()
- {}
};
struct DIBInfoHeader
@@ -102,9 +96,6 @@ struct DIBInfoHeader
nColsUsed(0UL),
nColsImportant(0UL)
{}
-
- ~DIBInfoHeader()
- {}
};
struct DIBV5Header : public DIBInfoHeader
@@ -139,9 +130,6 @@ struct DIBV5Header : public DIBInfoHeader
nV5ProfileSize(0UL),
nV5Reserved(0UL)
{}
-
- ~DIBV5Header()
- {}
};
inline sal_uInt16 discretizeBitcount( sal_uInt16 nInputCount )
diff --git a/vcl/source/gdi/impvect.cxx b/vcl/source/gdi/impvect.cxx
index dee3d16c2ae9..0b7957c6f0a7 100644
--- a/vcl/source/gdi/impvect.cxx
+++ b/vcl/source/gdi/impvect.cxx
@@ -281,7 +281,6 @@ private:
public:
ImplChain();
- ~ImplChain();
void ImplBeginAdd( const Point& rStartPt );
inline void ImplAdd( sal_uInt8 nCode );
@@ -297,10 +296,6 @@ ImplChain::ImplChain() :
mpCodes.reset( new sal_uInt8[ mnArraySize ] );
}
-ImplChain::~ImplChain()
-{
-}
-
void ImplChain::ImplGetSpace()
{
const sal_uLong nOldArraySize = mnArraySize;
diff --git a/vcl/source/gdi/pdffontcache.hxx b/vcl/source/gdi/pdffontcache.hxx
index 597c47f5bc09..44622ea84518 100644
--- a/vcl/source/gdi/pdffontcache.hxx
+++ b/vcl/source/gdi/pdffontcache.hxx
@@ -62,7 +62,6 @@ namespace vcl
FontData& getFont( const PhysicalFontFace*, bool bVertical );
public:
PDFFontCache() {}
- ~PDFFontCache() {}
sal_Int32 getGlyphWidth( const PhysicalFontFace*, sal_GlyphId, bool bVertical, SalGraphics* );
};
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index f861e3c1ad09..91fb1ffd008c 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -954,7 +954,6 @@ class Matrix3
void set( double *pn ) { for( int i = 0 ; i < 6; i++ ) f[i] = pn[i]; }
public:
Matrix3();
- ~Matrix3() {}
void skew( double alpha, double beta );
void scale( double sx, double sy );
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index d36f4a6ca277..1d958df351d2 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -311,9 +311,6 @@ public:
GlyphEmit() : m_nSubsetGlyphID(0)
{
}
- ~GlyphEmit()
- {
- }
void setGlyphId( sal_uInt8 i_nId ) { m_nSubsetGlyphID = i_nId; }
sal_uInt8 getGlyphId() const { return m_nSubsetGlyphID; }
diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx
index a1de6bc606e7..f735949ecab8 100644
--- a/vcl/source/window/dockingarea.cxx
+++ b/vcl/source/window/dockingarea.cxx
@@ -30,7 +30,6 @@ class DockingAreaWindow::ImplData
{
public:
ImplData();
- ~ImplData();
WindowAlign meAlign;
};
@@ -40,10 +39,6 @@ DockingAreaWindow::ImplData::ImplData()
meAlign = WindowAlign::Top;
}
-DockingAreaWindow::ImplData::~ImplData()
-{
-}
-
DockingAreaWindow::DockingAreaWindow( vcl::Window* pParent ) :
Window( WINDOW_DOCKINGAREA )
{
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index c961391d692b..ecad1c0812f1 100644
--- a/vcl/source/window/dockwin.cxx
+++ b/vcl/source/window/dockwin.cxx
@@ -40,7 +40,6 @@ class DockingWindow::ImplData
{
public:
ImplData();
- ~ImplData();
VclPtr<vcl::Window> mpParent;
Size maMaxOutSize;
@@ -52,10 +51,6 @@ DockingWindow::ImplData::ImplData()
maMaxOutSize = Size( SHRT_MAX, SHRT_MAX );
}
-DockingWindow::ImplData::~ImplData()
-{
-}
-
class ImplDockFloatWin : public FloatingWindow
{
private:
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index 676c3f0dbb06..982b9e6eaf1c 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -38,7 +38,6 @@ class FloatingWindow::ImplData
{
public:
ImplData();
- ~ImplData();
VclPtr<ToolBox> mpBox;
Rectangle maItemEdgeClipRect; // used to clip the common edge between a toolbar item and the border of this window
@@ -50,10 +49,6 @@ FloatingWindow::ImplData::ImplData()
mpBox = nullptr;
}
-FloatingWindow::ImplData::~ImplData()
-{
-}
-
Rectangle& FloatingWindow::ImplGetItemEdgeClipRect()
{
return mpImplData->maItemEdgeClipRect;
diff --git a/vcl/source/window/menubarwindow.hxx b/vcl/source/window/menubarwindow.hxx
index 188219c1957b..86f0192785ec 100644
--- a/vcl/source/window/menubarwindow.hxx
+++ b/vcl/source/window/menubarwindow.hxx
@@ -41,7 +41,6 @@ class DecoToolBox : public ToolBox
public:
explicit DecoToolBox(vcl::Window* pParent);
- virtual ~DecoToolBox() override {}
void DataChanged( const DataChangedEvent& rDCEvt ) override;
diff --git a/vcl/source/window/popupmenuwindow.cxx b/vcl/source/window/popupmenuwindow.cxx
index 310d7550b202..d8cd337a1c91 100644
--- a/vcl/source/window/popupmenuwindow.cxx
+++ b/vcl/source/window/popupmenuwindow.cxx
@@ -26,7 +26,6 @@ struct PopupMenuFloatingWindow::ImplData
sal_uInt16 mnMenuStackLevel; // Store the stack level of a popup menu. 0 = top-level menu.
ImplData();
- ~ImplData();
};
PopupMenuFloatingWindow::ImplData::ImplData() :
@@ -34,10 +33,6 @@ PopupMenuFloatingWindow::ImplData::ImplData() :
{
}
-PopupMenuFloatingWindow::ImplData::~ImplData()
-{
-}
-
PopupMenuFloatingWindow::PopupMenuFloatingWindow( vcl::Window* pParent ) :
FloatingWindow(pParent, WB_SYSTEMFLOATWIN | WB_SYSTEMWINDOW | WB_NOBORDER ),
mpImplData(new ImplData)
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index d2adcacf1c77..d541d888cfe8 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -46,7 +46,6 @@ class StatusBar::ImplData
{
public:
ImplData();
- ~ImplData();
VclPtr<VirtualDevice> mpVirDev;
long mnItemBorderWidth;
@@ -60,10 +59,6 @@ StatusBar::ImplData::ImplData()
mnItemBorderWidth = 0;
}
-StatusBar::ImplData::~ImplData()
-{
-}
-
struct ImplStatusItem
{
sal_uInt16 mnId;
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 6c6d931cc00f..976fde74c5e1 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -49,7 +49,6 @@ class SystemWindow::ImplData
{
public:
ImplData();
- ~ImplData();
std::unique_ptr<TaskPaneList>
mpTaskPaneList;
@@ -64,10 +63,6 @@ SystemWindow::ImplData::ImplData()
maMaxOutSize = Size( SHRT_MAX, SHRT_MAX );
}
-SystemWindow::ImplData::~ImplData()
-{
-}
-
SystemWindow::SystemWindow(WindowType nType)
: Window(nType)
, mbPinned(false)
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 0d6219fa82a4..f1fe935d4af6 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -113,7 +113,6 @@ private:
public:
ImplTBDragMgr();
- ~ImplTBDragMgr();
void push_back( ToolBox* pBox )
{ mpBoxList->push_back( pBox ); }
@@ -1130,10 +1129,6 @@ ImplTBDragMgr::ImplTBDragMgr()
maAccel.SetSelectHdl( LINK( this, ImplTBDragMgr, SelectHdl ) );
}
-ImplTBDragMgr::~ImplTBDragMgr()
-{
-}
-
ToolBox* ImplTBDragMgr::FindToolBox( const Rectangle& rRect )
{
for (VclPtr<ToolBox> & i : *mpBoxList)
diff --git a/vcl/unx/generic/app/i18n_im.cxx b/vcl/unx/generic/app/i18n_im.cxx
index 0f6672d6f6dd..a2a4619fcf6d 100644
--- a/vcl/unx/generic/app/i18n_im.cxx
+++ b/vcl/unx/generic/app/i18n_im.cxx
@@ -54,7 +54,6 @@ class XKeyEventOp : public XKeyEvent
public:
XKeyEventOp();
- ~XKeyEventOp();
XKeyEventOp& operator= (const XKeyEvent &rEvent);
void erase ();
@@ -79,10 +78,6 @@ XKeyEventOp::XKeyEventOp()
init();
}
-XKeyEventOp::~XKeyEventOp()
-{
-}
-
XKeyEventOp&
XKeyEventOp::operator= (const XKeyEvent &rEvent)
{
diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx
index ec46b32d37fc..7ac2ceda4cdf 100644
--- a/vcl/unx/generic/dtrans/X11_selection.hxx
+++ b/vcl/unx/generic/dtrans/X11_selection.hxx
@@ -235,7 +235,6 @@ namespace x11 {
m_pTarget( rEntry.m_pTarget ),
m_aRootWindow( rEntry.m_aRootWindow )
{}
- ~DropTargetEntry() {}
DropTarget* operator->() const { return m_pTarget; }
DropTargetEntry& operator=(const DropTargetEntry& rEntry)
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index bef9ab36e3fd..172c118c99f7 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -77,7 +77,6 @@ namespace psp
key_translation_map m_aTranslations;
public:
PPDTranslator() {}
- ~PPDTranslator() {}
void insertValue(
const OUString& i_rKey,