Kaydet (Commit) f0bed251 authored tarafından Caolán McNamara's avatar Caolán McNamara

VclPtr: presumably these also leak

Change-Id: Ib92a1d91464bc95a80415e1651bac78a65a8b31d
üst fdb363b4
......@@ -160,8 +160,7 @@ handleChangedByOthersRequest_(
if (!xManager.get())
return;
VclPtr< FileChangedQueryBox > xDialog(
VclPtr<FileChangedQueryBox>::Create( pParent, xManager.get() ) );
ScopedVclPtrInstance< FileChangedQueryBox > xDialog(pParent, xManager.get());
sal_Int32 nResult = xDialog->Execute();
if ( nResult == RET_YES )
......@@ -195,8 +194,7 @@ handleLockFileIgnoreRequest_(
if (!xManager.get())
return;
VclPtr< LockFailedQueryBox > xDialog(
VclPtr<LockFailedQueryBox>::Create( pParent, xManager.get() ) );
ScopedVclPtrInstance< LockFailedQueryBox > xDialog(pParent, xManager.get());
sal_Int32 nResult = xDialog->Execute();
if ( nResult == RET_OK )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment