diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-30 22:38:15 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 13:26:44 +0100 |
commit | 3072f80c53adebe1242f90b16cf4e83064cb4f4f (patch) | |
tree | 266a285ecf25b79c7d56a673071830c30a1bd677 /vcl/source/uipreviewer | |
parent | f59c489e642059fc060054222505b544893a3873 (diff) |
automated VclPtrInstance conversion.
Change-Id: I9a1d47202e2794461f6ec44f3e72ee1dd2fde09d
Diffstat (limited to 'vcl/source/uipreviewer')
-rw-r--r-- | vcl/source/uipreviewer/previewer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/uipreviewer/previewer.cxx b/vcl/source/uipreviewer/previewer.cxx index 20074297e5a5..bb93b1207dd8 100644 --- a/vcl/source/uipreviewer/previewer.cxx +++ b/vcl/source/uipreviewer/previewer.cxx @@ -68,8 +68,7 @@ int UIPreviewApp::Main() try { - VclPtr<Dialog> pDialog = new Dialog(DIALOG_NO_PARENT, WB_STDDIALOG | WB_SIZEABLE); - + VclPtrInstance<Dialog> pDialog(DIALOG_NO_PARENT, WB_STDDIALOG | WB_SIZEABLE); { VclBuilder aBuilder(pDialog, OUString(), uifiles[0]); vcl::Window *pRoot = aBuilder.get_widget_root(); |