From f34c1e9ba7d831c42c89d3c59d501ce6cc858dbe Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Tue, 26 May 2015 16:02:50 +0100 Subject: tdf#91416 - fix some incorrectly allocated VirtualDevices. Change-Id: I9ebed313827986473c60e77b7e218b4c1b2487fe (cherry picked from commit f849d96463d967214bc063f6de912a082272c395) --- svtools/source/control/ctrlbox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools') diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 9b7bb5955e69..5414eaf37dc1 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -725,7 +725,7 @@ LineListBox::LineListBox( vcl::Window* pParent, WinBits nWinStyle ) : ListBox( pParent, nWinStyle ), m_nWidth( 5 ), m_sNone( ), - aVirDev( new VirtualDevice ), + aVirDev( VclPtr::Create() ), aColor( COL_BLACK ), maPaintCol( COL_BLACK ) { -- cgit v1.2.3