diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-10 15:51:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-10 15:51:48 +0200 |
commit | 3bf4ada33f09e155f3350602e7a4b6cec77e40f0 (patch) | |
tree | 97570e8c77792d39bfd38d78c74192dfe761a0ad /uui/source/iahndl-locking.cxx | |
parent | 746b518ceff830f8ac1f29c8871ad379793eb12e (diff) |
dialogs lifetimes should be wrapped in ScopedVclPtr
Change-Id: Ica8467af599fb3f9313bfa916fec8b7792a6000f
Diffstat (limited to 'uui/source/iahndl-locking.cxx')
-rw-r--r-- | uui/source/iahndl-locking.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/iahndl-locking.cxx b/uui/source/iahndl-locking.cxx index 1dd10cbe64b3..ad9ddb700142 100644 --- a/uui/source/iahndl-locking.cxx +++ b/uui/source/iahndl-locking.cxx @@ -93,7 +93,7 @@ handleLockedDocumentRequest_( aMessage = UUIInteractionHelper::replaceMessageWithArguments( aMessage, aArguments ); - VclPtr< OpenLockedQueryBox > xDialog(new OpenLockedQueryBox( + ScopedVclPtr< OpenLockedQueryBox > xDialog(new OpenLockedQueryBox( pParent, xManager.get(), aMessage ) ); nResult = xDialog->Execute(); } @@ -107,7 +107,7 @@ handleLockedDocumentRequest_( aMessage = UUIInteractionHelper::replaceMessageWithArguments( aMessage, aArguments ); - VclPtr< TryLaterQueryBox > xDialog( + ScopedVclPtr< TryLaterQueryBox > xDialog( new TryLaterQueryBox( pParent, xManager.get(), aMessage ) ); nResult = xDialog->Execute(); } |