summaryrefslogtreecommitdiff
path: root/include/vcl/vclptr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-13 13:42:34 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 10:56:19 +0100
commit6cb33f4dd9967e1793ec2547fc3b7f9a3bc969d8 (patch)
tree705c6ddefd7cefb8dcc3ad3a7ad5166c8dccaa49 /include/vcl/vclptr.hxx
parentd7a84ce8406096b455d81f50cd50ca2e877adc06 (diff)
vclwidget: call disposeOnce from VclPtr::disposeAndClear
Change-Id: Ia8c438984409a7b719f5756f9be30ba9e90c57dc
Diffstat (limited to 'include/vcl/vclptr.hxx')
-rw-r--r--include/vcl/vclptr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/vclptr.hxx b/include/vcl/vclptr.hxx
index 832d608b686f..b64824b871bf 100644
--- a/include/vcl/vclptr.hxx
+++ b/include/vcl/vclptr.hxx
@@ -179,7 +179,7 @@ public:
::rtl::Reference<reference_type> aTmp(m_rInnerRef);
m_rInnerRef.clear(); // we should use some 'swap' method ideally ;-)
if (aTmp.get()) {
- aTmp->dispose();
+ aTmp->disposeOnce();
}
}