summaryrefslogtreecommitdiff
path: root/svx/source/inc/filtnav.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/inc/filtnav.hxx')
-rw-r--r--svx/source/inc/filtnav.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx
index 60f5095adf4d..0910a68b350d 100644
--- a/svx/source/inc/filtnav.hxx
+++ b/svx/source/inc/filtnav.hxx
@@ -231,7 +231,7 @@ class FmFilterNavigator final : public SvTreeListBox, public SfxListener
{
enum DROP_ACTION{ DA_SCROLLUP, DA_SCROLLDOWN, DA_EXPANDNODE };
- FmFilterModel* m_pModel;
+ std::unique_ptr<FmFilterModel> m_pModel;
SvTreeListEntry* m_pEditingCurrently;
OFilterExchangeHelper m_aControlExchange;
@@ -250,7 +250,7 @@ public:
const css::uno::Reference< css::container::XIndexAccess > & xControllers,
const css::uno::Reference< css::form::runtime::XFormController > & xCurrent
);
- const FmFilterModel* GetFilterModel() const {return m_pModel;}
+ const FmFilterModel* GetFilterModel() const {return m_pModel.get();}
private: