diff options
Diffstat (limited to 'vcl/workben/svptest.cxx')
-rw-r--r-- | vcl/workben/svptest.cxx | 2 |
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(); |