diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-17 12:10:27 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-17 12:14:28 +0100 |
commit | 0a497cb52a2ffecd94178eed296ba8ae7f526358 (patch) | |
tree | 9ca24fc64bc20085dc8f055114b67736cd08119b /extensions/source/dbpilots/unoautopilot.inl | |
parent | 0703fc22519b391cece54f9d67012cffd9867765 (diff) |
Use VclPtr for OGenericUnoDialog::createDialog.
Change-Id: I0c2040889931a4700735339c5252f8d5fee234ff
Diffstat (limited to 'extensions/source/dbpilots/unoautopilot.inl')
-rw-r--r-- | extensions/source/dbpilots/unoautopilot.inl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/dbpilots/unoautopilot.inl b/extensions/source/dbpilots/unoautopilot.inl index 77f3cf6e795d..55e5861f3595 100644 --- a/extensions/source/dbpilots/unoautopilot.inl +++ b/extensions/source/dbpilots/unoautopilot.inl @@ -96,9 +96,9 @@ template <class TYPE, class SERVICEINFO> template <class TYPE, class SERVICEINFO> -Dialog* OUnoAutoPilot<TYPE, SERVICEINFO>::createDialog(::vcl::Window* _pParent) +VclPtr<Dialog> OUnoAutoPilot<TYPE, SERVICEINFO>::createDialog(::vcl::Window* _pParent) { - return new TYPE(_pParent, m_xObjectModel, m_aContext); + return VclPtr<TYPE>::Create(_pParent, m_xObjectModel, m_aContext); } |