summaryrefslogtreecommitdiff
path: root/include/toolkit/controls/unocontrolmodel.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/toolkit/controls/unocontrolmodel.hxx')
-rw-r--r--include/toolkit/controls/unocontrolmodel.hxx3
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); }