summaryrefslogtreecommitdiff
path: root/svx/source/dialog/dlgctrl.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-19 17:47:31 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 12:26:07 +0100
commite218bbcbf60345115772ccb2fa63418c13895bd0 (patch)
tree29d9fb87ba270b6e5464b1440fb931868d4e3f4a /svx/source/dialog/dlgctrl.cxx
parentb129ee5021b7f56dfd936d53a46d274880edc0a9 (diff)
Move OutputDevice members to VclPtr: starmath, svx.
Change-Id: I1a5174334f41bc319e0806b9d324be64ba6d0135
Diffstat (limited to 'svx/source/dialog/dlgctrl.cxx')
-rw-r--r--svx/source/dialog/dlgctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index ba5d023c70e1..95584d7ac674 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -1843,7 +1843,7 @@ SvxPreviewBase::~SvxPreviewBase()
void SvxPreviewBase::dispose()
{
delete mpModel;
- delete mpBufferDevice;
+ mpBufferDevice.disposeAndClear();
Control::dispose();
}