summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-09-07 10:47:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-09-07 14:44:03 +0200
commitc29d86fc92509bb9c853a07970963b7b3be09d52 (patch)
treeeb4bfa8ecf8cb5d6056a595e52a0acb13cb59bc1
parent76932ec6c45089f3319c4fc211d92d19d92666c3 (diff)
no need to take a lock and do nothing
It has been this way since initial commit in commit 5eb0040d0199f8c80d47ed912e055f27a193b81d Author: Mihaela Kedikova <misheto@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.grandin@collabora.co.uk>
-rw-r--r--toolkit/inc/controls/tabpagemodel.hxx1
-rw-r--r--toolkit/source/controls/tabpagemodel.cxx9
2 files changed, 0 insertions, 10 deletions
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 );