diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-16 22:09:41 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-16 22:09:41 +0100 |
commit | a461467a3edc1452835447ff075fda7420aaf153 (patch) | |
tree | d56f03c08335a554b8b8573a89f7535ffda6633b /fpicker/test | |
parent | 5252a1d81eb69d3de443d2988367359c9174e36d (diff) |
drawinglayer, editeng, forms, fpicker: convert new to ::Create.
Change-Id: I5144ac74a09a3ac5679abca89e7d87386f2484fd
Diffstat (limited to 'fpicker/test')
-rw-r--r-- | fpicker/test/svdem.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fpicker/test/svdem.cxx b/fpicker/test/svdem.cxx index 1f4bc6b58e9f..61217a7c692a 100644 --- a/fpicker/test/svdem.cxx +++ b/fpicker/test/svdem.cxx @@ -185,9 +185,8 @@ IMPL_LINK( MyWin, Test, PushButton*, pBtn ) printf("Test\n"); if ( pBtn == &aOKBtn ) { - SvtFileDialog* pDlg = new SvtFileDialog( this,SFXWB_PATHDIALOG); + ScopedVclPtrInstance<SvtFileDialog> pDlg(this,SFXWB_PATHDIALOG); pDlg->Execute(); - delete pDlg; printf("ok\n"); } |