summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/grafctrl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-26 13:26:36 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 22:05:20 +0100
commitb3dcb2996b70caabda1939c9e85545c97d78404a (patch)
tree0a8c8db9cfe053f61e90c100b7ebad7fe72605b2 /svx/source/tbxctrls/grafctrl.cxx
parentef22212ecb813ce5c822cfbb7b1da7b4860128ef (diff)
vcl: some VclPtr fixes found by the new plugin code
Change-Id: Ib4f591aaa88d8710fdb9b672533cfa8bb024160f
Diffstat (limited to 'svx/source/tbxctrls/grafctrl.cxx')
-rw-r--r--svx/source/tbxctrls/grafctrl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx
index 99093aac9443..9eb9e5b5cce3 100644
--- a/svx/source/tbxctrls/grafctrl.cxx
+++ b/svx/source/tbxctrls/grafctrl.cxx
@@ -301,6 +301,8 @@ ImplGrafControl::~ImplGrafControl()
void ImplGrafControl::dispose()
{
+ maImage.disposeAndClear();
+ maField.disposeAndClear();
Control::dispose();
}