commit ab28d70a615aa99898e9156e055e3c611c08eb28
Author: Juergen Spitzmueller <[email protected]>
Date:   Fri Feb 20 15:53:00 2026 +0100

    Rename shadowing iterator
---
 src/frontends/qt/GuiDocument.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index ca4f42688a..4d228796d7 100644
--- a/src/frontends/qt/GuiDocument.cpp
+++ b/src/frontends/qt/GuiDocument.cpp
@@ -4443,13 +4443,13 @@ void GuiDocument::paramsToDialog()
        }
 
        map<string, string> const & packages = BufferParams::auto_packages();
-       for (map<string, string>::const_iterator it = packages.begin();
-            it != packages.end(); ++it) {
-               QTableWidgetItem * item = 
mathsModule->packagesTW->findItems(toqstr(it->first), Qt::MatchExactly)[0];
+       for (map<string, string>::const_iterator itt = packages.begin();
+            itt != packages.end(); ++itt) {
+               QTableWidgetItem * item = 
mathsModule->packagesTW->findItems(toqstr(itt->first), Qt::MatchExactly)[0];
                if (!item)
                        continue;
                int row = mathsModule->packagesTW->row(item);
-               switch (bp_.use_package(it->first)) {
+               switch (bp_.use_package(itt->first)) {
                        case BufferParams::package_off: {
                                QRadioButton * rb =
                                        
(QRadioButton*)mathsModule->packagesTW->cellWidget(row, 
3)->layout()->itemAt(0)->widget();
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to