diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-13 13:42:34 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 10:56:19 +0100 |
commit | 6cb33f4dd9967e1793ec2547fc3b7f9a3bc969d8 (patch) | |
tree | 705c6ddefd7cefb8dcc3ad3a7ad5166c8dccaa49 /include/vcl/vclptr.hxx | |
parent | d7a84ce8406096b455d81f50cd50ca2e877adc06 (diff) |
vclwidget: call disposeOnce from VclPtr::disposeAndClear
Change-Id: Ia8c438984409a7b719f5756f9be30ba9e90c57dc
Diffstat (limited to 'include/vcl/vclptr.hxx')
-rw-r--r-- | include/vcl/vclptr.hxx | 2 |
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(); } } |