diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-01 15:59:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-01 15:59:34 +0100 |
commit | 49c8235944ee6d1b937177d8497924d13b07f0b8 (patch) | |
tree | aa4e2ff8042023752c81ae207d2e14b3cea915d0 | |
parent | d46a9baff5d8008344b33f0eb8748602b1c52d54 (diff) |
loplugin:unnecessaryoverride
Change-Id: I53699ef386dad99b38559defe985057492a5df76
-rw-r--r-- | connectivity/source/inc/ado/Aolewrap.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/inc/ado/Awrapado.hxx | 5 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/WINNetworkService.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/win/salsys.h | 1 | ||||
-rw-r--r-- | vcl/inc/win/winlayout.hxx | 1 |
5 files changed, 0 insertions, 12 deletions
diff --git a/connectivity/source/inc/ado/Aolewrap.hxx b/connectivity/source/inc/ado/Aolewrap.hxx index c5f8ee10a8fc..483811b6ecdb 100644 --- a/connectivity/source/inc/ado/Aolewrap.hxx +++ b/connectivity/source/inc/ado/Aolewrap.hxx @@ -98,10 +98,6 @@ namespace connectivity { } - virtual ~WpOLEBase() override - { - } - operator T*() const { return static_cast<T*>(pInterface); } void setWithOutAddRef(T* _pInterface) { diff --git a/connectivity/source/inc/ado/Awrapado.hxx b/connectivity/source/inc/ado/Awrapado.hxx index cdfe15dd98dc..d1f8207d9fc8 100644 --- a/connectivity/source/inc/ado/Awrapado.hxx +++ b/connectivity/source/inc/ado/Awrapado.hxx @@ -280,11 +280,6 @@ namespace connectivity WpOLEBase<ADORecordset>::operator=(rhs); return *this; } - ~WpADORecordset() override - { - // if(pInterface && get_State() == adStateOpen) - // Close(); - } void Create(); bool Open( diff --git a/sd/source/ui/remotecontrol/WINNetworkService.hxx b/sd/source/ui/remotecontrol/WINNetworkService.hxx index 7c4ebda798f7..9194fb60d256 100644 --- a/sd/source/ui/remotecontrol/WINNetworkService.hxx +++ b/sd/source/ui/remotecontrol/WINNetworkService.hxx @@ -16,7 +16,6 @@ namespace sd{ public: WINNetworkService(const std::string& aname = "", unsigned int aport = 1599) : ZeroconfService(aname, aport), client(nullptr) {} - virtual ~WINNetworkService() override {} void clear() override; void setup() override; diff --git a/vcl/inc/win/salsys.h b/vcl/inc/win/salsys.h index 7d5b26275915..ec9424b318e6 100644 --- a/vcl/inc/win/salsys.h +++ b/vcl/inc/win/salsys.h @@ -40,7 +40,6 @@ public: m_aArea( rArea ) { } - ~DisplayMonitor() {} }; private: std::vector<DisplayMonitor> m_aMonitors; diff --git a/vcl/inc/win/winlayout.hxx b/vcl/inc/win/winlayout.hxx index a32af75ca092..b057819d17c4 100644 --- a/vcl/inc/win/winlayout.hxx +++ b/vcl/inc/win/winlayout.hxx @@ -189,7 +189,6 @@ class ExTextOutRenderer : public TextOutRenderer public: explicit ExTextOutRenderer() = default; - virtual ~ExTextOutRenderer() override = default; bool operator ()(SalLayout const &rLayout, HDC hDC, const Rectangle* pRectToErase, |