[Libreoffice-commits] core.git: vcl/win

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Sep 11 18:20:52 UTC 2018


 vcl/win/gdi/gdiimpl.cxx |    5 -----
 vcl/win/gdi/salbmp.cxx  |    5 -----
 2 files changed, 10 deletions(-)

New commits:
commit 6d79c2f56d3548d8ea767dfe69626759e6cf6f34
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Sep 11 16:51:08 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Sep 11 20:20:29 2018 +0200

    loplugin:unnecessaryoverride (clang-cl)
    
    Change-Id: If20c05de5521ff2121da4b5973dcf15697bafe95
    Reviewed-on: https://gerrit.libreoffice.org/60325
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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;


More information about the Libreoffice-commits mailing list