diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-03-01 14:35:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-01 19:30:37 +0100 |
commit | 3c699b2a480e0795a3a7085c2bcd1a9e8d649ed2 (patch) | |
tree | f8d64e0b8a57b7ad2a51528fe56277100a9b9ff5 /svx/source/inc/fmexch.hxx | |
parent | 86303d2372b30bf02e28ea2b223f0e0aa7a161a3 (diff) |
loplugin:refcounting in svx
Change-Id: I87b1d0684e6e8921b222f76a13a36706c0eb8c87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111750
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/inc/fmexch.hxx')
-rw-r--r-- | svx/source/inc/fmexch.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/inc/fmexch.hxx b/svx/source/inc/fmexch.hxx index d3a7fdc969f5..ad8efc7faafe 100644 --- a/svx/source/inc/fmexch.hxx +++ b/svx/source/inc/fmexch.hxx @@ -104,7 +104,7 @@ namespace svxform SVX_DLLPRIVATE void setClipboardListener( const Link<OLocalExchange&,void>& _rListener ) { if ( m_xTransferable.is() ) m_xTransferable->setClipboardListener( _rListener ); } protected: - SVX_DLLPRIVATE virtual OLocalExchange* createExchange() const = 0; + SVX_DLLPRIVATE virtual rtl::Reference<OLocalExchange> createExchange() const = 0; protected: SVX_DLLPRIVATE void implReset(); @@ -215,7 +215,7 @@ namespace svxform OControlExchange& operator*() const { return *static_cast< OControlExchange* >( m_xTransferable.get() ); } protected: - virtual OLocalExchange* createExchange() const override; + virtual rtl::Reference<OLocalExchange> createExchange() const override; }; |