summaryrefslogtreecommitdiff
path: root/uui/source/iahndl-ssl.cxx
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/source/iahndl-ssl.cxx
parent746b518ceff830f8ac1f29c8871ad379793eb12e (diff)
dialogs lifetimes should be wrapped in ScopedVclPtr
Change-Id: Ica8467af599fb3f9313bfa916fec8b7792a6000f
Diffstat (limited to 'uui/source/iahndl-ssl.cxx')
-rw-r--r--uui/source/iahndl-ssl.cxx4
1 files changed, 2 insertions, 2 deletions
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;