diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-16 20:31:36 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-16 20:31:36 +0100 |
commit | 5be108ee578a4000ee77f2ccb9a2c2d5d2bcc39c (patch) | |
tree | c0cd05efba5c808fbca993a8c4c978b8dedbaa1f /starmath/inc/dialog.hxx | |
parent | 16f7f5899bddc32ddfdf3b0e23faee528883e36c (diff) |
starmath: convert new to ::Create to get initial ref-counting right.
Change-Id: I4382f4a9cf74f87766c76412698b4031574b6107
Diffstat (limited to 'starmath/inc/dialog.hxx')
-rw-r--r-- | starmath/inc/dialog.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index df824c74f35a..8093b9be3d5c 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -68,7 +68,7 @@ class SmPrintOptionsTabPage : public SfxTabPage virtual void Reset(const SfxItemSet* rSet) SAL_OVERRIDE; public: - static SfxTabPage* Create(vcl::Window *pWindow, const SfxItemSet &rSet); + static VclPtr<SfxTabPage> Create(vcl::Window *pWindow, const SfxItemSet &rSet); SmPrintOptionsTabPage(vcl::Window *pParent, const SfxItemSet &rOptions); virtual ~SmPrintOptionsTabPage(); |