[Libreoffice-commits] core.git: vcl/inc vcl/osx

Stephan Bergmann sbergman at redhat.com
Tue Sep 19 09:43:58 UTC 2017


 vcl/inc/osx/salinst.h |    4 ----
 vcl/osx/salinst.cxx   |   10 ----------
 2 files changed, 14 deletions(-)

New commits:
commit 07fef83b20504890336fd146c558561dacf7e7e4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Sep 19 11:43:23 2017 +0200

    loplugin:unnecessaryoverride
    
    Change-Id: I37c338fd08df3dc102963ccffc65c1f0684653be

diff --git a/vcl/inc/osx/salinst.h b/vcl/inc/osx/salinst.h
index ecff6207f5d7..f1598a4f1040 100644
--- a/vcl/inc/osx/salinst.h
+++ b/vcl/inc/osx/salinst.h
@@ -39,10 +39,6 @@ enum class SalEvent;
 
 class SalYieldMutex : public comphelper::GenericSolarMutex
 {
-protected:
-    virtual void            doAcquire( sal_uInt32 nLockCount ) override;
-    virtual sal_uInt32      doRelease( bool bUnlockAll ) override;
-
 public:
     SalYieldMutex();
     virtual ~SalYieldMutex() override;
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index aa274e8292f3..5e5415fef884 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -265,16 +265,6 @@ SalYieldMutex::~SalYieldMutex()
 {
 }
 
-void SalYieldMutex::doAcquire( sal_uInt32 nLockCount )
-{
-    comphelper::GenericSolarMutex::doAcquire( nLockCount );
-}
-
-sal_uInt32 SalYieldMutex::doRelease( const bool bUnlockAll )
-{
-    return comphelper::GenericSolarMutex::doRelease( bUnlockAll );
-}
-
 // some convenience functions regarding the yield mutex, aka solar mutex
 
 bool ImplSalYieldMutexTryToAcquire()


More information about the Libreoffice-commits mailing list