summaryrefslogtreecommitdiff
path: root/forms/source/component/EventThread.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-18 14:30:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 06:32:58 +0000
commit0aa24916cbea2ab3a843217be2c3be6c32c42ad5 (patch)
tree3a002816d73015e1dfb75664cad331c398cb5bc8 /forms/source/component/EventThread.cxx
parent365f2e9054c59da1515c52fe8852216ce678cf38 (diff)
loplugin:expandablemethodds in filter..forms
Change-Id: Ic1f64f804acc10b1a48d82de9fc6a2b39af465a0 Reviewed-on: https://gerrit.libreoffice.org/30014 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source/component/EventThread.cxx')
-rw-r--r--forms/source/component/EventThread.cxx14
1 files changed, 2 insertions, 12 deletions
diff --git a/forms/source/component/EventThread.cxx b/forms/source/component/EventThread.cxx
index 8e4cdfaa0d0f..e1011b17f26f 100644
--- a/forms/source/component/EventThread.cxx
+++ b/forms/source/component/EventThread.cxx
@@ -135,28 +135,18 @@ void OComponentEventThread::addEvent( const EventObject* _pEvt,
m_aCond.set();
}
-void OComponentEventThread::implStarted( )
-{
- acquire( );
-}
-
-void OComponentEventThread::implTerminated( )
-{
- release( );
-}
-
void SAL_CALL OComponentEventThread::onTerminated()
{
OComponentEventThread_TBASE::onTerminated();
- implTerminated( );
+ release( );
}
void OComponentEventThread::run()
{
osl_setThreadName("frm::OComponentEventThread");
- implStarted( );
+ acquire( );
// Hold on to ourselves, so that we're not deleted if a dispose is called at some point in time
css::uno::Reference<css::uno::XInterface> xThis(static_cast<XWeak*>(this));