summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-13 21:46:06 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-13 21:46:06 +0100
commit318dc66b7720b85f3b7fa426743c6cf808168f43 (patch)
treebaba3a016b96bea98b70127a02e6d7ce6220e7c5 /vcl/workben
parent324377ada2513031e211f1d38a842859b6f094a2 (diff)
Use the new ::Create template method.
Change-Id: I79e15b45769ced44b1679943972f7a71c7df8fca
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/vcldemo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 84018793c5c4..33682e17df13 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -1623,7 +1623,7 @@ public:
aMainWin->SetText("Interactive VCL demo #1");
if (bWidgets)
- xWidgets = VclPtrInstance< DemoWidgets > ();
+ xWidgets = VclPtr< DemoWidgets >::Create ();
else if (bPopup)
xPopup = VclPtrInstance< DemoPopup> ();
else