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_( ...@@ -160,8 +160,7 @@ handleChangedByOthersRequest_(
if (!xManager.get()) if (!xManager.get())
return; return;
VclPtr< FileChangedQueryBox > xDialog( ScopedVclPtrInstance< FileChangedQueryBox > xDialog(pParent, xManager.get());
VclPtr<FileChangedQueryBox>::Create( pParent, xManager.get() ) );
sal_Int32 nResult = xDialog->Execute(); sal_Int32 nResult = xDialog->Execute();
if ( nResult == RET_YES ) if ( nResult == RET_YES )
...@@ -195,8 +194,7 @@ handleLockFileIgnoreRequest_( ...@@ -195,8 +194,7 @@ handleLockFileIgnoreRequest_(
if (!xManager.get()) if (!xManager.get())
return; return;
VclPtr< LockFailedQueryBox > xDialog( ScopedVclPtrInstance< LockFailedQueryBox > xDialog(pParent, xManager.get());
VclPtr<LockFailedQueryBox>::Create( pParent, xManager.get() ) );
sal_Int32 nResult = xDialog->Execute(); sal_Int32 nResult = xDialog->Execute();
if ( nResult == RET_OK ) 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