summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/contnr/treelistbox.cxx5
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