[Libreoffice-commits] core.git: connectivity/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 17 15:39:49 UTC 2019


 connectivity/source/drivers/firebird/DatabaseMetaData.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit aba66a9965c68ad56bbc52a334f440edc9a946b4
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Apr 17 15:47:06 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Apr 17 17:38:54 2019 +0200

    Restrict lambda capture list
    
    Change-Id: I72ac69f9cbea34f69d828f55468fb630ca8290fe
    Reviewed-on: https://gerrit.libreoffice.org/70885
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
index 28c2e71a9d1b..f3fad5ff3636 100644
--- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
@@ -805,7 +805,7 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo()
     ODatabaseMetaDataResultSet* pResultSet =
             new ODatabaseMetaDataResultSet(ODatabaseMetaDataResultSet::eTypeInfo);
     uno::Reference< XResultSet > xResultSet = pResultSet;
-    static ODatabaseMetaDataResultSet::ORows aResults = [&]()
+    static ODatabaseMetaDataResultSet::ORows aResults = []()
     {
         ODatabaseMetaDataResultSet::ORows tmp;
         ODatabaseMetaDataResultSet::ORow aRow(19);


More information about the Libreoffice-commits mailing list