dbaccess/source/ui/uno/copytablewizard.cxx | 3 --- 1 file changed, 3 deletions(-)
New commits: commit 2866b1a84e2667c9dd58955d3cd73b262ff6860b Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Mar 28 17:02:34 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Mar 28 23:23:06 2022 +0200 -Werror,-Wunused-but-set-variable ...since 376cc3ea0fc2e0f209763a2a27c5852136332c86 "dbaccess: delete old paste autoincrement logic" Change-Id: I4ffa3ffbcc1b80091a4a3449362766334b31c5af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132229 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 51420d74995c..eb6d7fa2325b 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -1098,7 +1098,6 @@ void CopyTableWizard::impl_copyRows_throw( const Reference< XResultSet >& _rxSou const Any* pSelectedRow = m_aSourceSelection.getConstArray(); const Any* pSelEnd = pSelectedRow + m_aSourceSelection.getLength(); - sal_Int32 nRowCount = 0; bool bContinue = false; CopyTableRowEvent aCopyEvent; @@ -1133,8 +1132,6 @@ void CopyTableWizard::impl_copyRows_throw( const Reference< XResultSet >& _rxSou break; } - ++nRowCount; - aCopyEvent.Error.clear(); try {