[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - dbaccess/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 17 13:38:49 UTC 2020
dbaccess/source/ui/browser/sbagrid.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit d8ede5d2f592084f76cc8888d42c3f1f5875e894
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Mon Nov 30 07:49:02 2020 +0100
Commit: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
CommitDate: Thu Dec 17 14:38:17 2020 +0100
Related tdf#54021: Fields in tablecontrols of a form could not be copied
See https://bugs.documentfoundation.org/show_bug.cgi?id=54021#c42
for more details.
Of course there's still the main pb to fix, moving columns
Change-Id: I2308efa47cbb9b80f278cf2644bb9cf24ab831e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106849
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
(cherry picked from commit 44f1ed1928d4d32b1a1962f413df69e2ae851789)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107014
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 41a30c9df178..f5c909600f54 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -1046,6 +1046,7 @@ void SbaGridControl::DoColumnDrag(sal_uInt16 nColumnPos)
{
Reference< XPropertySet > xDataSource = getDataSource();
OSL_ENSURE(xDataSource.is(), "SbaGridControl::DoColumnDrag : invalid data source !");
+ ::dbtools::ensureRowSetConnection(Reference< XRowSet >(getDataSource(),UNO_QUERY), getContext(), nullptr);
Reference< XPropertySet > xAffectedCol;
Reference< XPropertySet > xAffectedField;
More information about the Libreoffice-commits
mailing list