svtools/source/contnr/treelistbox.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 6e908d3c3f28c507de72579e33c31a99fb4f1ce9 Author: Michael Meeks <michael.me...@collabora.com> Date: Tue May 12 12:50:13 2015 +0100 svtools: hold strong VclPtr references for global state. Change-Id: I55c384495a0b1e0e128ac71ec3ae4afee6964fde diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 5d7ec97..377244a 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits