diff options
author | Stephan Bergmann <sb@openoffice.org> | 2000-12-05 15:42:52 +0000 |
---|---|---|
committer | Stephan Bergmann <sb@openoffice.org> | 2000-12-05 15:42:52 +0000 |
commit | d75856f69faf596bcb3038a168d458814ea28e09 (patch) | |
tree | 554ca4989c83f37b988c78e8b206c88891be8767 /ucb/source/core | |
parent | b44c63356cf64c341128d2e29bc92500ac5233f4 (diff) |
#80720# Never dereference a default constructed ProviderMap_Impl::iterator.
Diffstat (limited to 'ucb/source/core')
-rw-r--r-- | ucb/source/core/ucb.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx index 4f3df2917fc4..37f33ae5510d 100644 --- a/ucb/source/core/ucb.cxx +++ b/ucb/source/core/ucb.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ucb.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: sb $ $Date: 2000-11-09 13:31:21 $ + * last change: $Author: sb $ $Date: 2000-12-05 16:42:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -341,7 +341,10 @@ void SAL_CALL UniversalContentBroker::deregisterContentProvider( { aMapIt = m_aProviders.find(Scheme); } - catch (IllegalArgumentException const &) {} + catch (IllegalArgumentException const &) + { + return; //@@@ + } if (aMapIt != m_aProviders.end()) { |