diff options
Diffstat (limited to 'uui/source/iahndl-ssl.cxx')
-rw-r--r-- | uui/source/iahndl-ssl.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx index 06d1167ba892..d36b3e0ee220 100644 --- a/uui/source/iahndl-ssl.cxx +++ b/uui/source/iahndl-ssl.cxx @@ -145,12 +145,8 @@ executeUnknownAuthDialog( { SolarMutexGuard aGuard; - boost::scoped_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui")); boost::scoped_ptr< UnknownAuthDialog > xDialog( - new UnknownAuthDialog( pParent, - rXCert, - xContext, - xManager.get())); + new UnknownAuthDialog(pParent, rXCert, xContext)); // Get correct resource string OUString aMessage; @@ -158,6 +154,7 @@ executeUnknownAuthDialog( std::vector< OUString > aArguments; aArguments.push_back( getContentPart( rXCert->getSubjectName()) ); + boost::scoped_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui")); if (xManager.get()) { ResId aResId(RID_UUI_ERRHDL, *xManager.get()); |