summaryrefslogtreecommitdiff
path: root/include/svx/fmshell.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-02 14:53:50 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-06 07:01:51 +0000
commit7d1b01070c330d45212cd69ea692b2263c23c2a6 (patch)
tree7ae6ecdd69cd3d8b6ce4431a39034186695497c0 /include/svx/fmshell.hxx
parent9f138ffe9da2f448a455f4b51facab82e5e243d7 (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 'include/svx/fmshell.hxx')
-rw-r--r--include/svx/fmshell.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/fmshell.hxx b/include/svx/fmshell.hxx
index 8f4d656397fc..38b8c341fcfe 100644
--- a/include/svx/fmshell.hxx
+++ b/include/svx/fmshell.hxx
@@ -71,7 +71,7 @@ class SVX_DLLPUBLIC FmFormShell : public SfxShell
friend class FmFormView;
friend class FmXFormShell;
- FmXFormShell* m_pImpl;
+ rtl::Reference<FmXFormShell> m_pImpl;
FmFormView* m_pFormView;
FmFormModel* m_pFormModel;
@@ -113,7 +113,7 @@ public:
FmFormView* GetFormView() const { return m_pFormView; }
FmFormModel* GetFormModel() const { return m_pFormModel; }
FmFormPage* GetCurPage() const;
- FmXFormShell* GetImpl() const {return m_pImpl;};
+ FmXFormShell* GetImpl() const {return m_pImpl.get();};
bool PrepareClose(bool bUI = true);