summaryrefslogtreecommitdiff
path: root/vcl/workben/svpclient.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-20 15:35:54 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-20 15:35:54 +0100
commit4fed8865be56ac431fb91e2432c6e93ce3f781c7 (patch)
tree67b0982f8910bc8bfbc92cb6245520a26f6366dc /vcl/workben/svpclient.cxx
parentf12488405cdfd8555078d15807aafc5ffd1b037b (diff)
vcl: convert new to ::Create
Change-Id: Ifd52953086ea923fa1770892d13f32c2263aec54
Diffstat (limited to 'vcl/workben/svpclient.cxx')
-rw-r--r--vcl/workben/svpclient.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx
index 428cfa7dbc6e..01ad3e9d5f08 100644
--- a/vcl/workben/svpclient.cxx
+++ b/vcl/workben/svpclient.cxx
@@ -130,10 +130,10 @@ void Main()
MyWin::MyWin( vcl::Window* pParent, WinBits nWinStyle ) :
WorkWindow( pParent, nWinStyle ),
- m_aListButton(new PushButton(this, 0)),
- m_aSvpBitmaps(new ListBox(this, WB_BORDER)),
- m_aImage(new ImageControl(this, WB_BORDER)),
- m_aQuitButton(new PushButton(this, 0))
+ m_aListButton(VclPtr<PushButton>::Create(this, 0)),
+ m_aSvpBitmaps(VclPtr<ListBox>::Create(this, WB_BORDER)),
+ m_aImage(VclPtr<ImageControl>::Create(this, WB_BORDER)),
+ m_aQuitButton(VclPtr<PushButton>::Create(this, 0))
{
m_aListButton->SetPosSizePixel( Point( 10, 10 ), Size( 120, 25 ) );
m_aListButton->SetText( OUString( "List Elements" ) );