diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-03 12:59:57 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-03 12:59:57 +0000 |
commit | 6371f30bcdc8a5329020f1695d6f20b36662c8a9 (patch) | |
tree | 3b97830bf1be4619e6c9d8694c7a7c9a71cfe08e /uui/source | |
parent | 2a7179c38047e872e6a82c9f5aff8d870908c030 (diff) |
INTEGRATION: CWS vcl79 (1.59.8); FILE MERGED
2007/06/18 13:35:30 pl 1.59.8.1: #148073# error checking, ofa ResMgr
Diffstat (limited to 'uui/source')
-rw-r--r-- | uui/source/iahndl.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 5ad523ff0a4e..98ce10a8db1b 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: iahndl.cxx,v $ * - * $Revision: 1.60 $ + * $Revision: 1.61 $ * - * last change: $Author: kz $ $Date: 2007-06-19 16:10:14 $ + * last change: $Author: rt $ $Date: 2007-07-03 13:59:57 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -2503,12 +2503,9 @@ UUIInteractionHelper::handleErrorRequest( vos::OGuard aGuard(Application::GetSolarMutex()); std::auto_ptr< ResMgr > xManager; - if (aManager[eSource]) - { - xManager.reset(ResMgr::CreateResMgr(aManager[eSource])); - if (!xManager.get()) - return; - } + xManager.reset(ResMgr::CreateResMgr(aManager[eSource])); + if (!xManager.get()) + return; ResId aResId(aId[eSource], *xManager.get()); if (!ErrorResource(aResId). getString(nErrorCode, &aMessage)) return; |