diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-07-13 10:15:08 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-07-13 10:15:08 +0000 |
commit | 19a92be0524a93bfcb4f463fcc8a853346656380 (patch) | |
tree | 4aa7aaf4b563a35c0782bca0e59b5a09c0e44042 | |
parent | 6ce3844b66de25b1320f5db8437dac51290898cf (diff) |
#i10000# build fix
-rw-r--r-- | extensions/source/update/check/updatecheck.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 703939c5f7a7..b76b6c19bd93 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -4,9 +4,9 @@ * * $RCSfile: updatecheck.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: ihi $ $Date: 2007-07-12 13:28:10 $ + * last change: $Author: ihi $ $Date: 2007-07-13 11:15:08 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1082,7 +1082,9 @@ UpdateCheck::setUpdateInfo(const UpdateInfo& aInfo) iter++; } - if( (iter != m_aUpdateInfo.Sources.begin()) && iter->IsDirect ) + if( (iter != m_aUpdateInfo.Sources.begin()) && + (iter != m_aUpdateInfo.Sources.end()) && + iter->IsDirect ) { iter--; m_aUpdateInfo.Sources.erase(m_aUpdateInfo.Sources.begin(), iter); |