diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-18 16:00:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-18 21:42:10 +0200 |
commit | 3d36ff1a1d94bcdb6facf12eec00a532b6640880 (patch) | |
tree | df0ecd92d5974ea9c4b6634df83cb3ef5d409f15 /sc/source/core | |
parent | 67b5e875c65c5ed72a170a03d33992edd3802c75 (diff) |
loplugin:unusedfields
Change-Id: Ib574403a7f7f8b11c6263c9c19ec6b65c8374ddd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115753
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/data/table2.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index af21428fde22..47afc5886ab1 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -808,7 +808,6 @@ class TransClipHandler bool mbWasCut; bool mbIncludeFiltered; InsertDeleteFlags mnFlags; - std::vector<SCROW>& mrFilteredRows; ScAddress getDestPos(size_t nRow) const { @@ -851,7 +850,6 @@ public: , mbWasCut(bWasCut) , mbIncludeFiltered(bIncludeFiltered) , mnFlags(nFlags) - , mrFilteredRows(rFilteredRows) { // Create list of filtered rows. if (!mbIncludeFiltered) @@ -861,7 +859,7 @@ public: // maybe this loop could be optimized bool bFiltered = mrSrcTab.RowFiltered(curRow, nullptr, nullptr); if (bFiltered) - mrFilteredRows.push_back(curRow); + rFilteredRows.push_back(curRow); } } } |