diff options
Diffstat (limited to 'vcl/workben/svdem.cxx')
-rw-r--r-- | vcl/workben/svdem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx index f2cdb6eaebac..e349934a5af1 100644 --- a/vcl/workben/svdem.cxx +++ b/vcl/workben/svdem.cxx @@ -81,7 +81,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(); |