summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parentRelated tdf#101467: fix a leak with pSalMask (vcl/bitmapex) (diff)
downloadcore-ab087a1254cf8074b2cf14cb8eee1cbdfd1b1f3e.tar.gz
core-ab087a1254cf8074b2cf14cb8eee1cbdfd1b1f3e.zip
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)
Diffstat (limited to 'include')
-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
9 files changed, 0 insertions, 10 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,