diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-18 14:23:09 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 12:01:42 +0100 |
commit | 4f386d07474790648843665cac42879cb33eba48 (patch) | |
tree | 822ae19894fe6554e58c571f7cf3e17500ca4ff6 /vcl/source/window/toolbox2.cxx | |
parent | 739f3a5c2b5410685b22d920e8d6c4d59567dfd3 (diff) |
more lifecycle cleanup & fixing.
Change-Id: Icc9051bad16c0e66c9e9f631c487a2facde72e9f
Diffstat (limited to 'vcl/source/window/toolbox2.cxx')
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index 0378a20c35ac..574705a9d4a6 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -165,7 +165,7 @@ ImplToolItem::ImplToolItem( const ImplToolItem& rItem ) : ImplToolItem::~ImplToolItem() { - mpWindow.disposeAndClear(); + // don't dispose mpWindow - we get copied around. } ImplToolItem& ImplToolItem::operator=( const ImplToolItem& rItem ) |