summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot/unodialogabp.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-17 12:10:27 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-17 12:14:28 +0100
commit0a497cb52a2ffecd94178eed296ba8ae7f526358 (patch)
tree9ca24fc64bc20085dc8f055114b67736cd08119b /extensions/source/abpilot/unodialogabp.cxx
parent0703fc22519b391cece54f9d67012cffd9867765 (diff)
Use VclPtr for OGenericUnoDialog::createDialog.
Change-Id: I0c2040889931a4700735339c5252f8d5fee234ff
Diffstat (limited to 'extensions/source/abpilot/unodialogabp.cxx')
-rw-r--r--extensions/source/abpilot/unodialogabp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/abpilot/unodialogabp.cxx b/extensions/source/abpilot/unodialogabp.cxx
index 8a0714eb17be..f21ac3198be3 100644
--- a/extensions/source/abpilot/unodialogabp.cxx
+++ b/extensions/source/abpilot/unodialogabp.cxx
@@ -152,9 +152,9 @@ namespace abp
}
- Dialog* OABSPilotUno::createDialog(vcl::Window* _pParent)
+ VclPtr<Dialog> OABSPilotUno::createDialog(vcl::Window* _pParent)
{
- return new OAddessBookSourcePilot(_pParent, m_aContext );
+ return VclPtr<OAddessBookSourcePilot>::Create(_pParent, m_aContext );
}