Related tdf#153003: Copying a query and pasting as table in same DB impossible
commit5d78ccde7d1621bfdbac48b81afb13f7707f922f
authorJulien Nabet <serval2412@yahoo.fr>
Fri, 13 Jan 2023 21:05:35 +0000 (13 22:05 +0100)
committerAndras Timar <andras.timar@collabora.com>
Mon, 16 Jan 2023 21:01:20 +0000 (16 22:01 +0100)
tree0b24108bd708f417ab04d1a6dc759e8cd5893841
parent8f176370720a5f57b332dbac024b2521b258942b
Related tdf#153003: Copying a query and pasting as table in same DB impossible

It might be a regression from ca82061c2cad00aeddb17b766063776fee0ee41a
"make ValueTransfer easier to understand

storing references to local variables makes it harder to figure out what
the control flow is doing.
"
in peculiar:
-            sal_Int32 nDestColumn( 0 );
-            sal_Int32 nSourceColumn( 1 );
-            ValueTransfer aTransfer( nSourceColumn, nDestColumn, std::vector(aSourceColTypes), xRow, xStatementParams );
+            sal_Int32 nSourceColumn( 0 );
+            ValueTransfer aTransfer( aSourceColTypes, xRow, xStatementParams );

Change-Id: Iaa27c4f46fcc51ec12fff08f8e99f862c8b4ac2b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145499
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
(cherry picked from commit c9b0eacae71f111209cb77f14f2693d73e5e8d90)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145440
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
dbaccess/source/ui/uno/copytablewizard.cxx