toolkit/inc/controls/tabpagemodel.hxx    |    1 -
 toolkit/source/controls/tabpagemodel.cxx |    9 ---------
 2 files changed, 10 deletions(-)

New commits:
commit c29d86fc92509bb9c853a07970963b7b3be09d52
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Sep 7 10:47:14 2023 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Thu Sep 7 14:44:03 2023 +0200

    no need to take a lock and do nothing
    
    It has been this way since initial commit in
    
        commit 5eb0040d0199f8c80d47ed912e055f27a193b81d
        Author: Mihaela Kedikova <mish...@openoffice.org>
        Date:   Thu Aug 12 17:44:19 2010 +0200
        tabcontrol: new source code for tabcontrol added
    
    Change-Id: I0e9730525249a3da8857e5c19070a6aad05ad768
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156652
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/toolkit/inc/controls/tabpagemodel.hxx 
b/toolkit/inc/controls/tabpagemodel.hxx
index 48a84fe5a602..a1668e2d5d59 100644
--- a/toolkit/inc/controls/tabpagemodel.hxx
+++ b/toolkit/inc/controls/tabpagemodel.hxx
@@ -62,7 +62,6 @@ public:
 
     void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& 
Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
     void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
-    void SAL_CALL dispose() override;
 
      // css::awt::XWindowListener
     virtual void SAL_CALL windowResized( const css::awt::WindowEvent& e ) 
override;
diff --git a/toolkit/source/controls/tabpagemodel.cxx 
b/toolkit/source/controls/tabpagemodel.cxx
index ac57abdc2da3..53a2c7335b27 100644
--- a/toolkit/source/controls/tabpagemodel.cxx
+++ b/toolkit/source/controls/tabpagemodel.cxx
@@ -186,15 +186,6 @@ css::uno::Sequence<OUString> SAL_CALL 
UnoControlTabPage::getSupportedServiceName
     return { "com.sun.star.awt.tab.UnoControlTabPage" };
 }
 
-void UnoControlTabPage::dispose()
-{
-    SolarMutexGuard aSolarGuard;
-
-    lang::EventObject aEvt;
-    aEvt.Source = static_cast< ::cppu::OWeakObject* >( this );
-    ControlContainerBase::dispose();
-}
-
 void SAL_CALL UnoControlTabPage::disposing( const lang::EventObject& Source )
 {
      ControlContainerBase::disposing( Source );

Reply via email to