summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filrset.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-23 14:58:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-29 07:17:39 +0100
commit8a0935a9bc255df3f197ca484594e1cfb6514801 (patch)
tree9df8754826f99188dbb6aaa5f5026334fc4f4f20 /ucb/source/ucp/file/filrset.hxx
parent084571ee6ce7daf0d94f6c3e1ef7186edcf2b969 (diff)
loplugin:useuniqueptr in XResultSet_impl
Change-Id: I2f333d0d0784fc76f6a3b7a6a9e61b82b856afa0 Reviewed-on: https://gerrit.libreoffice.org/48703 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/file/filrset.hxx')
-rw-r--r--ucb/source/ucp/file/filrset.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/ucb/source/ucp/file/filrset.hxx b/ucb/source/ucp/file/filrset.hxx
index 22f77d574891..c2ee576a3e65 100644
--- a/ucb/source/ucp/file/filrset.hxx
+++ b/ucb/source/ucp/file/filrset.hxx
@@ -439,10 +439,9 @@ class XResultSet_impl : public Notifier,
osl::Mutex m_aMutex;
osl::Mutex m_aEventListenerMutex;
- comphelper::OInterfaceContainerHelper2* m_pDisposeEventListeners;
-
- comphelper::OInterfaceContainerHelper2* m_pRowCountListeners;
- comphelper::OInterfaceContainerHelper2* m_pIsFinalListeners;
+ std::unique_ptr<comphelper::OInterfaceContainerHelper2> m_pDisposeEventListeners;
+ std::unique_ptr<comphelper::OInterfaceContainerHelper2> m_pRowCountListeners;
+ std::unique_ptr<comphelper::OInterfaceContainerHelper2> m_pIsFinalListeners;
css::uno::Reference< css::ucb::XDynamicResultSetListener > m_xListener;