diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-11 13:30:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-12 08:46:17 +0200 |
commit | d5ed07d2a249e61937dd42a4b2efb7e7fbef02d6 (patch) | |
tree | bdba1a2775fc89ef333c39f0e52f4af147d41d7f /include/toolkit/controls/unocontrolmodel.hxx | |
parent | b0a2ab4c68fa11b0a713583946718a60fda19c0c (diff) |
make ControlModelContainerBase::Clone return by rtl::Reference
Change-Id: Ie5d80688293dea42bea8b38fb1699e93980dd668
Reviewed-on: https://gerrit.libreoffice.org/52747
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/toolkit/controls/unocontrolmodel.hxx')
-rw-r--r-- | include/toolkit/controls/unocontrolmodel.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/toolkit/controls/unocontrolmodel.hxx b/include/toolkit/controls/unocontrolmodel.hxx index aa5edc5cb65e..b736e6db49f1 100644 --- a/include/toolkit/controls/unocontrolmodel.hxx +++ b/include/toolkit/controls/unocontrolmodel.hxx @@ -38,6 +38,7 @@ #include <cppuhelper/interfacecontainer.hxx> #include <cppuhelper/implbase7.hxx> #include <comphelper/uno3.hxx> +#include <rtl/ref.hxx> #include <vector> #include <map> @@ -115,7 +116,7 @@ public: UnoControlModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); UnoControlModel( const UnoControlModel& rModel ); - virtual UnoControlModel* Clone() const = 0; + virtual rtl::Reference<UnoControlModel> Clone() const = 0; // css::uno::XInterface css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override { return OWeakAggObject::queryInterface(rType); } |