summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-03-28 17:02:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-03-28 23:23:06 +0200
commit2866b1a84e2667c9dd58955d3cd73b262ff6860b (patch)
treeb882c3d65a30b2494ae684bf909dfc46d5f29063 /dbaccess/source/ui
parente506bf303c830e974e3b9972887d2c5ec0dbf480 (diff)
-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 <sbergman@redhat.com>
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx3
1 files changed, 0 insertions, 3 deletions
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
{