connectivity/source/drivers/firebird/Catalog.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 0b0d1b55cbc463e469353df24cdc37e6cfd0724b Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Fri Mar 6 18:15:18 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Mar 7 15:44:26 2020 +0100 tdf#131164: Fix crash on Tools>User Administration (Firebird) see https://bugs.documentfoundation.org/show_bug.cgi?id=131164#c8 Change-Id: If55a7b015e4e14575c3933a98c70ed4aaf4d7c73 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90123 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> (cherry picked from commit dada19a89cbdc5f089fe1200275a1688a1ff1967) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90033 Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/connectivity/source/drivers/firebird/Catalog.cxx b/connectivity/source/drivers/firebird/Catalog.cxx index 7dc3593d577a..6207625296f6 100644 --- a/connectivity/source/drivers/firebird/Catalog.cxx +++ b/connectivity/source/drivers/firebird/Catalog.cxx @@ -71,8 +71,8 @@ void Catalog::refreshUsers() { OUString const sSql("SELECT DISTINCT RDB$USER FROM RDB$USER_PRIVILEGES"); - uno::Reference< XResultSet > xUsers = m_xMetaData->getConnection() - ->createStatement()->executeQuery(sSql); + Reference<XStatement> xStmt= m_xMetaData->getConnection()->createStatement(); + uno::Reference< XResultSet > xUsers = xStmt->executeQuery(sSql); if (!xUsers.is()) return; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits