sc/source/ui/dbgui/filtdlg.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 688453cc94bc7e6ee2d444e97ec68ff62fcf2fa3
Author: Stephan Bergmann <[email protected]>
AuthorDate: Mon Mar 28 17:24:24 2022 +0200
Commit: Stephan Bergmann <[email protected]>
CommitDate: Mon Mar 28 23:29:49 2022 +0200
-Werror,-Wunused-but-set-variable
...ever since d9dd003f63a781e63bfbe380ea737e080c21881f "tdf#143103 Support
Color
Filter in 'Standard Filter' dialog"
Change-Id: I04441f4d812e3598b5b91e3bf915315a11ab6e67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132233
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <[email protected]>
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx
index ea948fb827b9..2af41567082d 100644
--- a/sc/source/ui/dbgui/filtdlg.cxx
+++ b/sc/source/ui/dbgui/filtdlg.cxx
@@ -653,7 +653,6 @@ void ScFilterDlg::UpdateColorList(size_t nList)
else
return;
- sal_Int32 i = 1;
maColorLbArr[nPos]->clear();
for (const auto& rColor : aColors)
{
@@ -679,8 +678,6 @@ void ScFilterDlg::UpdateColorList(size_t nList)
{
maColorLbArr[nPos]->set_active_id(sId);
}
-
- i++;
}
}