summaryrefslogtreecommitdiff
path: root/uui/source/iahndl-locking.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-16 22:18:45 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-16 22:21:04 +0100
commit5d5f447e738f159297b3d7bf10220c3cdfe7e2fa (patch)
tree3468a9712ac78b7db78dc129fa9a47ea5f117372 /uui/source/iahndl-locking.cxx
parenta461467a3edc1452835447ff075fda7420aaf153 (diff)
UnoControls, toolkit, uuoi, xmlsecurity: convert new to ::Create.
Change-Id: I7b8c7ece656589c50fb066e9fa1565fd59f930da
Diffstat (limited to 'uui/source/iahndl-locking.cxx')
-rw-r--r--uui/source/iahndl-locking.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/iahndl-locking.cxx b/uui/source/iahndl-locking.cxx
index aac4cd87c960..0b7c5cfd5fea 100644
--- a/uui/source/iahndl-locking.cxx
+++ b/uui/source/iahndl-locking.cxx
@@ -121,7 +121,7 @@ handleLockedDocumentRequest_(
aMessage, aArguments );
VclPtr< AlreadyOpenQueryBox > xDialog(
- new AlreadyOpenQueryBox( pParent,
+ VclPtr<AlreadyOpenQueryBox>::Create( pParent,
xManager.get(),
aMessage,
nMode == UUI_DOC_OWN_SAVE_LOCK ) );
@@ -162,7 +162,7 @@ handleChangedByOthersRequest_(
return;
VclPtr< FileChangedQueryBox > xDialog(
- new FileChangedQueryBox( pParent, xManager.get() ) );
+ VclPtr<FileChangedQueryBox>::Create( pParent, xManager.get() ) );
sal_Int32 nResult = xDialog->Execute();
if ( nResult == RET_YES )
@@ -197,7 +197,7 @@ handleLockFileIgnoreRequest_(
return;
VclPtr< LockFailedQueryBox > xDialog(
- new LockFailedQueryBox( pParent, xManager.get() ) );
+ VclPtr<LockFailedQueryBox>::Create( pParent, xManager.get() ) );
sal_Int32 nResult = xDialog->Execute();
if ( nResult == RET_OK )