summaryrefslogtreecommitdiff
path: root/uui/source/iahndl-ssl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/iahndl-ssl.cxx')
-rw-r--r--uui/source/iahndl-ssl.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx
index 47969699e0de..e42ed909b5b2 100644
--- a/uui/source/iahndl-ssl.cxx
+++ b/uui/source/iahndl-ssl.cxx
@@ -145,8 +145,7 @@ executeUnknownAuthDialog(
{
SolarMutexGuard aGuard;
- boost::scoped_ptr< UnknownAuthDialog > xDialog(
- new UnknownAuthDialog(pParent, rXCert, xContext));
+ ScopedVclPtrInstance< UnknownAuthDialog > xDialog(pParent, rXCert, xContext);
// Get correct resource string
OUString aMessage;
@@ -187,8 +186,7 @@ executeSSLWarnDialog(
{
SolarMutexGuard aGuard;
- boost::scoped_ptr< SSLWarnDialog > xDialog(
- new SSLWarnDialog(pParent, rXCert, xContext));
+ ScopedVclPtrInstance< SSLWarnDialog > xDialog(pParent, rXCert, xContext);
// Get correct resource string
OUString aMessage_1;