summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-10 15:51:48 +0200
committerNoel Grandin <noel@peralex.com>2015-04-10 15:51:48 +0200
commit3bf4ada33f09e155f3350602e7a4b6cec77e40f0 (patch)
tree97570e8c77792d39bfd38d78c74192dfe761a0ad /uui
parent746b518ceff830f8ac1f29c8871ad379793eb12e (diff)
dialogs lifetimes should be wrapped in ScopedVclPtr
Change-Id: Ica8467af599fb3f9313bfa916fec8b7792a6000f
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl-filter.cxx2
-rw-r--r--uui/source/iahndl-locking.cxx4
-rw-r--r--uui/source/iahndl-ssl.cxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/uui/source/iahndl-filter.cxx b/uui/source/iahndl-filter.cxx
index 0ad263319cd4..a8d6c8d9625d 100644
--- a/uui/source/iahndl-filter.cxx
+++ b/uui/source/iahndl-filter.cxx
@@ -55,7 +55,7 @@ executeFilterDialog(
{
SolarMutexGuard aGuard;
- VclPtr< uui::FilterDialog > xDialog(new uui::FilterDialog(pParent));
+ ScopedVclPtr< uui::FilterDialog > xDialog(new uui::FilterDialog(pParent));
xDialog->SetURL(rURL);
xDialog->ChangeFilters(&rFilters);
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();
}
diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx
index a747a9753366..0e12165b2de5 100644
--- a/uui/source/iahndl-ssl.cxx
+++ b/uui/source/iahndl-ssl.cxx
@@ -145,7 +145,7 @@ executeUnknownAuthDialog(
{
SolarMutexGuard aGuard;
- VclPtr< UnknownAuthDialog > xDialog(new UnknownAuthDialog(pParent, rXCert, xContext));
+ ScopedVclPtr< UnknownAuthDialog > xDialog(new UnknownAuthDialog(pParent, rXCert, xContext));
// Get correct resource string
OUString aMessage;
@@ -186,7 +186,7 @@ executeSSLWarnDialog(
{
SolarMutexGuard aGuard;
- VclPtr< SSLWarnDialog > xDialog(new SSLWarnDialog(pParent, rXCert, xContext));
+ ScopedVclPtr< SSLWarnDialog > xDialog(new SSLWarnDialog(pParent, rXCert, xContext));
// Get correct resource string
OUString aMessage_1;