diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-17 15:13:34 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 11:40:50 +0100 |
commit | 6d0c89123f353aed80d3a8a08ef5cd1ffaa1eea9 (patch) | |
tree | 59b3f214e068d3df6b08b2acd7647002946a6847 /starmath | |
parent | 2269fd1d751d9b198cf9189125bd177151559596 (diff) |
vclwidget: fix more places that should be wrapping in VclPtr
Change-Id: I31c9115662da2f81e1b22be91ee58e2862076b8e
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/document.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index f6a0bdee9a4b..e67153564b8b 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -989,7 +989,7 @@ void SmDocShell::Execute(SfxRequest& rReq) pDev = &SM_MOD()->GetDefaultVirtualDev(); OSL_ENSURE (pDev, "device for font list missing" ); - std::unique_ptr<SmFontTypeDialog> xFontTypeDialog(new SmFontTypeDialog( NULL, pDev )); + VclPtr<SmFontTypeDialog> xFontTypeDialog(new SmFontTypeDialog( NULL, pDev )); SmFormat aOldFormat = GetFormat(); xFontTypeDialog->ReadFrom( aOldFormat ); @@ -1011,7 +1011,7 @@ void SmDocShell::Execute(SfxRequest& rReq) case SID_FONTSIZE: { - std::unique_ptr<SmFontSizeDialog> xFontSizeDialog(new SmFontSizeDialog(NULL)); + VclPtr<SmFontSizeDialog> xFontSizeDialog(new SmFontSizeDialog(NULL)); SmFormat aOldFormat = GetFormat(); xFontSizeDialog->ReadFrom( aOldFormat ); @@ -1034,7 +1034,7 @@ void SmDocShell::Execute(SfxRequest& rReq) case SID_DISTANCE: { - std::unique_ptr<SmDistanceDialog> xDistanceDialog(new SmDistanceDialog(NULL)); + VclPtr<SmDistanceDialog> xDistanceDialog(new SmDistanceDialog(NULL)); SmFormat aOldFormat = GetFormat(); xDistanceDialog->ReadFrom( aOldFormat ); @@ -1057,7 +1057,7 @@ void SmDocShell::Execute(SfxRequest& rReq) case SID_ALIGN: { - std::unique_ptr<SmAlignDialog> xAlignDialog(new SmAlignDialog(NULL)); + VclPtr<SmAlignDialog> xAlignDialog(new SmAlignDialog(NULL)); SmFormat aOldFormat = GetFormat(); xAlignDialog->ReadFrom( aOldFormat ); |