[Libreoffice-commits] core.git: connectivity/source sd/source vcl/inc
Stephan Bergmann
sbergman at redhat.com
Wed Feb 1 15:00:06 UTC 2017
connectivity/source/inc/ado/Aolewrap.hxx | 4 ----
connectivity/source/inc/ado/Awrapado.hxx | 5 -----
sd/source/ui/remotecontrol/WINNetworkService.hxx | 1 -
vcl/inc/win/salsys.h | 1 -
vcl/inc/win/winlayout.hxx | 1 -
5 files changed, 12 deletions(-)
New commits:
commit 49c8235944ee6d1b937177d8497924d13b07f0b8
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Feb 1 15:59:34 2017 +0100
loplugin:unnecessaryoverride
Change-Id: I53699ef386dad99b38559defe985057492a5df76
diff --git a/connectivity/source/inc/ado/Aolewrap.hxx b/connectivity/source/inc/ado/Aolewrap.hxx
index c5f8ee1..483811b 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 cdfe15d..d1f8207 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 7c4ebda..9194fb6 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 7d5b262..ec9424b 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 a32af75..b057819 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,
More information about the Libreoffice-commits
mailing list