[Libreoffice-commits] core.git: include/vbahelper include/vcl vbahelper/source vcl/headless vcl/inc vcl/source vcl/unx
Noel Grandin
noel.grandin at collabora.co.uk
Fri Jan 27 06:50:37 UTC 2017
include/vbahelper/vbadialogbase.hxx | 1 -
include/vbahelper/vbadialogsbase.hxx | 1 -
include/vbahelper/vbadocumentbase.hxx | 1 -
include/vbahelper/vbadocumentsbase.hxx | 1 -
include/vbahelper/vbapagesetupbase.hxx | 1 -
include/vbahelper/vbatextframe.hxx | 1 -
include/vcl/lazydelete.hxx | 2 --
include/vcl/print.hxx | 1 -
include/vcl/salctype.hxx | 1 -
vbahelper/source/msforms/vbapages.hxx | 1 -
vcl/headless/svpglyphcache.cxx | 3 ---
vcl/inc/BitmapScaleConvolution.hxx | 3 ---
vcl/inc/controldata.hxx | 4 ----
vcl/inc/svmconverter.hxx | 1 -
vcl/inc/unx/gendata.hxx | 1 -
vcl/inc/unx/i18n_xkb.hxx | 6 ------
vcl/source/app/svapp.cxx | 2 --
vcl/source/control/button.cxx | 5 -----
vcl/source/control/edit.cxx | 5 -----
vcl/source/fontsubset/cff.cxx | 6 ------
vcl/source/gdi/dibtools.cxx | 12 ------------
vcl/source/gdi/impvect.cxx | 5 -----
vcl/source/gdi/pdffontcache.hxx | 1 -
vcl/source/gdi/pdfwriter_impl.cxx | 1 -
vcl/source/gdi/pdfwriter_impl.hxx | 3 ---
vcl/source/window/dockingarea.cxx | 5 -----
vcl/source/window/dockwin.cxx | 5 -----
vcl/source/window/floatwin.cxx | 5 -----
vcl/source/window/menubarwindow.hxx | 1 -
vcl/source/window/popupmenuwindow.cxx | 5 -----
vcl/source/window/status.cxx | 5 -----
vcl/source/window/syswin.cxx | 5 -----
vcl/source/window/toolbox.cxx | 5 -----
vcl/unx/generic/app/i18n_im.cxx | 5 -----
vcl/unx/generic/dtrans/X11_selection.hxx | 1 -
vcl/unx/generic/printer/ppdparser.cxx | 1 -
36 files changed, 112 deletions(-)
New commits:
commit 32a461bdd6ffda4b59ff262e1fcbcbe8bf2be7a0
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Thu Jan 26 13:48:47 2017 +0200
loplugin: unnecessary destructor vbahelper..vcl
Change-Id: I6b7800d4a456391251168f7923a1ec7a5ca9efc9
Reviewed-on: https://gerrit.libreoffice.org/33577
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/include/vbahelper/vbadialogbase.hxx b/include/vbahelper/vbadialogbase.hxx
index c1f3682..4c7a263 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() override;
diff --git a/include/vbahelper/vbadialogsbase.hxx b/include/vbahelper/vbadialogsbase.hxx
index e5e13d1..6e69515 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() override;
diff --git a/include/vbahelper/vbadocumentbase.hxx b/include/vbahelper/vbadocumentbase.hxx
index 7978ccc..d868dae 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() override;
diff --git a/include/vbahelper/vbadocumentsbase.hxx b/include/vbahelper/vbadocumentsbase.hxx
index 5ca030b..ac6d316 100644
--- a/include/vbahelper/vbadocumentsbase.hxx
+++ b/include/vbahelper/vbadocumentsbase.hxx
@@ -61,7 +61,6 @@ private:
public:
/// @throws css::uno::RuntimeException
VbaDocumentsBase( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, DOCUMENT_TYPE eDocType );
- virtual ~VbaDocumentsBase() override {}
// XEnumerationAccess
virtual css::uno::Type SAL_CALL getElementType() override = 0;
diff --git a/include/vbahelper/vbapagesetupbase.hxx b/include/vbahelper/vbapagesetupbase.hxx
index ce921b9..527c625 100644
--- a/include/vbahelper/vbapagesetupbase.hxx
+++ b/include/vbahelper/vbapagesetupbase.hxx
@@ -53,7 +53,6 @@ protected:
VbaPageSetupBase( const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext >& xContext );
public:
- virtual ~VbaPageSetupBase() override {}
// Attribute
virtual double SAL_CALL getTopMargin() override;
diff --git a/include/vbahelper/vbatextframe.hxx b/include/vbahelper/vbatextframe.hxx
index 4fe3261..22f07bd 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() override;
virtual void SAL_CALL setAutoSize( sal_Bool _autosize ) override;
diff --git a/include/vcl/lazydelete.hxx b/include/vcl/lazydelete.hxx
index 36a76b8..aef865d 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 a743cb0..77e3034 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 e7afbcb..409fc5a 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 c9845fb..ca7de5a 100644
--- a/vbahelper/source/msforms/vbapages.hxx
+++ b/vbahelper/source/msforms/vbapages.hxx
@@ -36,7 +36,6 @@ protected:
public:
/// @throws css::lang::IllegalArgumentException
ScVbaPages( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xPages );
- virtual ~ScVbaPages() override {}
// XEnumerationAccess
virtual css::uno::Type SAL_CALL getElementType() override;
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override;
diff --git a/vcl/headless/svpglyphcache.cxx b/vcl/headless/svpglyphcache.cxx
index cff68e3..aac6160 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 e18c71f..0ce161d 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 5554afc..1ba1079 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 a8ae99e..bcb11db 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 943b919..00c9962 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 763e8a2..69d0303 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 67a1bcb..658126a 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -183,8 +183,6 @@ struct ImplPostEventData
ImplPostEventData( VclEventId 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 c928010..571c843 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 f228b8e..c6fe571 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -121,7 +121,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();
@@ -137,10 +136,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 a50801f..184f29e 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 2e85bbc..b17897a 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 6a88538..2350df2 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 c02e28b..738a7ff 100644
--- a/vcl/source/gdi/pdffontcache.hxx
+++ b/vcl/source/gdi/pdffontcache.hxx
@@ -63,7 +63,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 6bb4228..2dd6464 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 979571f..a1cb6d2 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -297,9 +297,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 a1de6bc..f735949 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 f00bfdc..a74d659 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 0f65071..3e9cd96 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -37,7 +37,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
@@ -48,10 +47,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 188219c..86f0192 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 310d755..d8cd337 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 8aab54b..3739068 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 e5df586..4932dee 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)
, mbRollUp(false)
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 495a5d2..952ddfe 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 ); }
@@ -1143,10 +1142,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 2f09e10..ecdde44 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 ef1449e..7d6de7c 100644
--- a/vcl/unx/generic/dtrans/X11_selection.hxx
+++ b/vcl/unx/generic/dtrans/X11_selection.hxx
@@ -234,7 +234,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 012ec95..a2d99e5 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,
More information about the Libreoffice-commits
mailing list