diff options
-rw-r--r-- | io/source/stm/odata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index 6a62c75d5a63..f942c5d89ccd 100644 --- a/io/source/stm/odata.cxx +++ b/io/source/stm/odata.cxx @@ -1150,7 +1150,7 @@ Reference< XPersistObject > OObjectInputStream::readObject() } } else { - if( m_aPersistVector.size() < nId ) + if (nId >= m_aPersistVector.size()) { // id unknown, load failure ! bLoadSuccessful = false; |