summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2019-07-30 16:22:43 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-07-30 16:25:18 +0200
commitee1900a01c61e656de5b3c14446b9513cf83c7fc (patch)
tree616ce15075a0dea0d2aa35e8cef1c781a04a5190 /unoxml
parent751a5ad9c4e75fd1019bd4bca940d8a9e73f171a (diff)
unordf: oops, and we forgot to amend with <= instead of <
... in 751a5ad9c4e75fd1019bd4bca940d8a9e73f171a Change-Id: I81fb9e12b02eedd0fc6f4deccc392543cf2c14da Reviewed-on: https://gerrit.libreoffice.org/76614 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index e775be583bf0..4e7b8382b5a6 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -566,7 +566,7 @@ css::uno::Any SAL_CALL
librdf_GraphResult2::nextElement()
{
std::size_t const n = m_nIndex++;
- if (m_vStatements.size() < n)
+ if (m_vStatements.size() <= n)
{
m_nIndex = m_vStatements.size(); // avoid overflow
throw container::NoSuchElementException();