diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-12 12:50:13 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-12 12:51:15 +0100 |
commit | 6e908d3c3f28c507de72579e33c31a99fb4f1ce9 (patch) | |
tree | a0c5d34d3610b5de2c0ccb839a5899b5f6773493 | |
parent | 2ed1c696c3a45705d1d5e5f38f8ee7aff48f0436 (diff) |
svtools: hold strong VclPtr references for global state.
Change-Id: I55c384495a0b1e0e128ac71ec3ae4afee6964fde
-rw-r--r-- | svtools/source/contnr/treelistbox.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 5d7ec97391e4..377244a12b69 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -48,9 +48,8 @@ using namespace css::accessibility; // Drag&Drop -static SvTreeListBox* pDDSource = NULL; -static SvTreeListBox* pDDTarget = NULL; - +static VclPtr<SvTreeListBox> pDDSource; +static VclPtr<SvTreeListBox> pDDTarget; #define SVLBOX_ACC_RETURN 1 #define SVLBOX_ACC_ESCAPE 2 |