diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-02 14:53:50 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-06 07:01:51 +0000 |
commit | 7d1b01070c330d45212cd69ea692b2263c23c2a6 (patch) | |
tree | 7ae6ecdd69cd3d8b6ce4431a39034186695497c0 /svx/source/inc/formcontroller.hxx | |
parent | 9f138ffe9da2f448a455f4b51facab82e5e243d7 (diff) |
remove some manual ref counting in svx and xmloff
Change-Id: Ica0b6ff8ff7fa9e65cd758160d6e3ea7110ebb46
Reviewed-on: https://gerrit.libreoffice.org/25824
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/inc/formcontroller.hxx')
-rw-r--r-- | svx/source/inc/formcontroller.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/inc/formcontroller.hxx b/svx/source/inc/formcontroller.hxx index 1e1e611a474d..64802ad16f7f 100644 --- a/svx/source/inc/formcontroller.hxx +++ b/svx/source/inc/formcontroller.hxx @@ -75,6 +75,7 @@ #include <comphelper/proparrhlp.hxx> #include <cppuhelper/propshlp.hxx> #include <comphelper/interfacecontainer2.hxx> +#include <rtl/ref.hxx> #include <vcl/timer.hxx> #include <vcl/idle.hxx> @@ -203,8 +204,7 @@ namespace svxform // as we want to intercept dispatches of _all_ controls we're responsible for, and an object implementing // the css::frame::XDispatchProviderInterceptor interface can intercept only _one_ objects dispatches, we need a helper class - typedef std::vector<DispatchInterceptionMultiplexer*> Interceptors; - Interceptors m_aControlDispatchInterceptors; + std::vector<rtl::Reference<DispatchInterceptionMultiplexer>> m_aControlDispatchInterceptors; public: FormController( const css::uno::Reference< css::uno::XComponentContext > & _rxORB ); |