diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-18 13:39:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-18 14:52:28 +0100 |
commit | dbc7fc7587008b376f28605264f45f967680e4ff (patch) | |
tree | d47c5946ed4c66a3b5f96cfe1e59f7050d1ac9f9 /forms/source/component/clickableimage.cxx | |
parent | c70f5f32e2537639c7ad7e6e63fb760fd7a4ed90 (diff) |
use unique_ptr in OComponentEventThread
and simplify - by passing in a std::unique_ptr to addEvent we avoid the
need to have a virtual clone method
Change-Id: Ie425476a3158c7a66e399c2a9f33d2612dab5cbb
Reviewed-on: https://gerrit.libreoffice.org/67962
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source/component/clickableimage.cxx')
-rw-r--r-- | forms/source/component/clickableimage.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx index 36637975e9ba..d5cae9c185e1 100644 --- a/forms/source/component/clickableimage.cxx +++ b/forms/source/component/clickableimage.cxx @@ -842,13 +842,6 @@ namespace frm // OImageProducerThread_Impl - - EventObject* OImageProducerThread_Impl::cloneEvent( const EventObject* _pEvt ) const - { - return new EventObject( *_pEvt ); - } - - void OImageProducerThread_Impl::processEvent( ::cppu::OComponentHelper *pCompImpl, const EventObject* pEvt, const Reference<XControl>&, |