summaryrefslogtreecommitdiff
path: root/starmath/inc/dialog.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-16 20:31:36 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-16 20:31:36 +0100
commit5be108ee578a4000ee77f2ccb9a2c2d5d2bcc39c (patch)
treec0cd05efba5c808fbca993a8c4c978b8dedbaa1f /starmath/inc/dialog.hxx
parent16f7f5899bddc32ddfdf3b0e23faee528883e36c (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.hxx2
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();