diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-21 20:57:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-21 21:14:29 +0000 |
commit | a5650e388de543501788b0745396ee1d25164c2a (patch) | |
tree | 845b114e5ae13e3f50e3c04cc92dde03d581f681 /uui/source/iahndl-ssl.cxx | |
parent | 12b0a95b9777a46efc885811f5c7e7182855a834 (diff) |
convert ssl warning dialog to .ui
Change-Id: I658cc3f1c63f8cfb18463befa3a0efbd92139659
Diffstat (limited to 'uui/source/iahndl-ssl.cxx')
-rw-r--r-- | uui/source/iahndl-ssl.cxx | 8 |
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()); |