unoxml/source/rdf/librdf_repository.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ee1900a01c61e656de5b3c14446b9513cf83c7fc
Author:     Michael Stahl <michael.st...@cib.de>
AuthorDate: Tue Jul 30 16:22:43 2019 +0200
Commit:     Michael Stahl <michael.st...@cib.de>
CommitDate: Tue Jul 30 16:25:18 2019 +0200

    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.st...@cib.de>
    Tested-by: Michael Stahl <michael.st...@cib.de>

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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to