summaryrefslogtreecommitdiff
path: root/vcl/workben/svptest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben/svptest.cxx')
-rw-r--r--vcl/workben/svptest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx
index 70c769b71719..ac2c5527a8e0 100644
--- a/vcl/workben/svptest.cxx
+++ b/vcl/workben/svptest.cxx
@@ -91,7 +91,7 @@ public:
void Main()
{
- ScopedVclPtr<MyWin> aMainWin(new MyWin(NULL, WB_APP | WB_STDWORK) );
+ ScopedVclPtrInstance< MyWin > aMainWin( nullptr, WB_APP | WB_STDWORK );
aMainWin->SetText( OUString( "VCL - Workbench" ) );
aMainWin->Show();