diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2020-03-06 18:15:18 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-03-06 21:03:00 +0100 |
commit | dada19a89cbdc5f089fe1200275a1688a1ff1967 (patch) | |
tree | c95fdce34a7a3ee290455b2421b73d054ea796e6 /connectivity | |
parent | 32c8bd660e74169a17fdfd4cdbf42bb79dc5a10d (diff) |
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 <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/Catalog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |