diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-16 20:43:49 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-16 20:43:49 +0100 |
commit | f1879e200bf1ec60e4f56451e57517f6a42873eb (patch) | |
tree | ae66e7d446859a3f047aeba0ce65f16e2f83376c /starmath | |
parent | 5be108ee578a4000ee77f2ccb9a2c2d5d2bcc39c (diff) |
make CreatePrinterOptionsPage returns a VclPtr<>.
Change-Id: Iaa7814573b48b6c9ed10426b992c944393b23332
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/view.hxx | 4 | ||||
-rw-r--r-- | starmath/source/view.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index 63d71eb2d8bc..52f6c1e1df37 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -270,8 +270,8 @@ protected: void InsertFrom(SfxMedium &rMedium); virtual bool HasPrintOptionsPage() const SAL_OVERRIDE; - virtual SfxTabPage *CreatePrintOptionsPage(::vcl::Window *pParent, - const SfxItemSet &rOptions) SAL_OVERRIDE; + virtual VclPtr<SfxTabPage> CreatePrintOptionsPage(::vcl::Window *pParent, + const SfxItemSet &rOptions) SAL_OVERRIDE; virtual void Deactivate(bool IsMDIActivate) SAL_OVERRIDE; virtual void Activate(bool IsMDIActivate) SAL_OVERRIDE; virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize) SAL_OVERRIDE; diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 7ad1fef5ac5f..421796ef6402 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1362,8 +1362,8 @@ bool SmViewShell::HasPrintOptionsPage() const return true; } -SfxTabPage* SmViewShell::CreatePrintOptionsPage(vcl::Window *pParent, - const SfxItemSet &rOptions) +VclPtr<SfxTabPage> SmViewShell::CreatePrintOptionsPage(vcl::Window *pParent, + const SfxItemSet &rOptions) { return SmPrintOptionsTabPage::Create(pParent, rOptions); } |