From 6d79c2f56d3548d8ea767dfe69626759e6cf6f34 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 11 Sep 2018 16:51:08 +0200 Subject: loplugin:unnecessaryoverride (clang-cl) Change-Id: If20c05de5521ff2121da4b5973dcf15697bafe95 Reviewed-on: https://gerrit.libreoffice.org/60325 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/win/gdi/gdiimpl.cxx | 5 ----- vcl/win/gdi/salbmp.cxx | 5 ----- 2 files changed, 10 deletions(-) diff --git a/vcl/win/gdi/gdiimpl.cxx b/vcl/win/gdi/gdiimpl.cxx index bf2dcc9197e0..33d89b6c94e1 100644 --- a/vcl/win/gdi/gdiimpl.cxx +++ b/vcl/win/gdi/gdiimpl.cxx @@ -2025,7 +2025,6 @@ private: public: SystemDependentData_GraphicsPath( basegfx::SystemDependentDataManager& rSystemDependentDataManager); - virtual ~SystemDependentData_GraphicsPath() override; Gdiplus::GraphicsPath& getGraphicsPath() { return maGraphicsPath; } @@ -2041,10 +2040,6 @@ SystemDependentData_GraphicsPath::SystemDependentData_GraphicsPath( { } -SystemDependentData_GraphicsPath::~SystemDependentData_GraphicsPath() -{ -} - bool WinSalGraphicsImpl::drawPolyLine( const basegfx::B2DHomMatrix& rObjectToDevice, const basegfx::B2DPolygon& rPolygon, diff --git a/vcl/win/gdi/salbmp.cxx b/vcl/win/gdi/salbmp.cxx index fa8b011ab5aa..b61103e17067 100644 --- a/vcl/win/gdi/salbmp.cxx +++ b/vcl/win/gdi/salbmp.cxx @@ -99,7 +99,6 @@ private: public: SystemDependentData_GdiPlusBitmap( basegfx::SystemDependentDataManager& rSystemDependentDataManager); - virtual ~SystemDependentData_GdiPlusBitmap() override; const WinSalBitmap* getAssociatedAlpha() const { return mpAssociatedAlpha; } void setAssociatedAlpha(const WinSalBitmap* pNew) { mpAssociatedAlpha = pNew; } @@ -116,10 +115,6 @@ SystemDependentData_GdiPlusBitmap::SystemDependentData_GdiPlusBitmap( { } -SystemDependentData_GdiPlusBitmap::~SystemDependentData_GdiPlusBitmap() -{ -} - std::shared_ptr< Gdiplus::Bitmap > WinSalBitmap::ImplGetGdiPlusBitmap(const WinSalBitmap* pAlphaSource) const { std::shared_ptr< Gdiplus::Bitmap > aRetval; -- cgit