[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 20 13:34:49 UTC 2021
connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f87cbab4432f7b28016d8b934ff9c565d0cf6cc7
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Aug 20 14:31:31 2021 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Aug 20 15:34:12 2021 +0200
loplugin:unusedcapturedefault (macOS)
Change-Id: Id5a69e1307907cebffbdf50732cb4f34868280bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120784
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx b/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
index 807cd8583e42..d22a6f042574 100644
--- a/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
@@ -737,7 +737,7 @@ Reference< XResultSet > SAL_CALL MacabDatabaseMetaData::getTableTypes( )
{
rtl::Reference<::connectivity::ODatabaseMetaDataResultSet> pResult = new ::connectivity::ODatabaseMetaDataResultSet(ODatabaseMetaDataResultSet::eTableTypes);
- static ODatabaseMetaDataResultSet::ORows aRows = [&]
+ static ODatabaseMetaDataResultSet::ORows aRows = []
{
static constexpr OUStringLiteral aTable = u"TABLE";
ODatabaseMetaDataResultSet::ORows tmp;
@@ -755,7 +755,7 @@ Reference< XResultSet > SAL_CALL MacabDatabaseMetaData::getTypeInfo( )
{
rtl::Reference<ODatabaseMetaDataResultSet> pResult = new ODatabaseMetaDataResultSet(ODatabaseMetaDataResultSet::eTypeInfo);
- static ODatabaseMetaDataResultSet::ORows aRows = [&]()
+ static ODatabaseMetaDataResultSet::ORows aRows = []()
{
ODatabaseMetaDataResultSet::ORows tmp;
ODatabaseMetaDataResultSet::ORow aRow(19);
More information about the Libreoffice-commits
mailing list