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.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx
index 96c043a9ff7f..06d1167ba892 100644
--- a/uui/source/iahndl-ssl.cxx
+++ b/uui/source/iahndl-ssl.cxx
@@ -193,12 +193,8 @@ executeSSLWarnDialog(
{
SolarMutexGuard aGuard;
- boost::scoped_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui"));
boost::scoped_ptr< SSLWarnDialog > xDialog(
- new SSLWarnDialog( pParent,
- rXCert,
- xContext,
- xManager.get()));
+ new SSLWarnDialog(pParent, rXCert, xContext));
// Get correct resource string
OUString aMessage_1;
@@ -226,6 +222,8 @@ executeSSLWarnDialog(
break;
}
+ boost::scoped_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui"));
+
if (xManager.get())
{
ResId aResId(RID_UUI_ERRHDL, *xManager.get());