summaryrefslogtreecommitdiff
path: root/vcl/workben/svdem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben/svdem.cxx')
-rw-r--r--vcl/workben/svdem.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx
index a06bf5cc13d7..e349934a5af1 100644
--- a/vcl/workben/svdem.cxx
+++ b/vcl/workben/svdem.cxx
@@ -81,9 +81,9 @@ public:
void Main()
{
- MyWin aMainWin( NULL, WB_APP | WB_STDWORK );
- aMainWin.SetText(OUString("VCL - Workbench"));
- aMainWin.Show();
+ ScopedVclPtrInstance< MyWin > aMainWin( nullptr, WB_APP | WB_STDWORK );
+ aMainWin->SetText(OUString("VCL - Workbench"));
+ aMainWin->Show();
Application::Execute();
}