r22490 by jghali - #15277: Fix incorrect warning "same iterator is used with different containers"

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 29 00:46:50 UTC 2018


Author: jghali
Date: Sun Apr 29 00:46:50 2018
New Revision: 22490

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22490
Log:
#15277: Fix incorrect warning "same iterator is used with different containers"

Modified:
    branches/Version14x/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp

Modified: branches/Version14x/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22490&path=/branches/Version14x/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp	(original)
+++ branches/Version14x/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp	Sun Apr 29 00:46:50 2018
@@ -38,7 +38,7 @@
 	bool b=languagesComboBox->blockSignals(true);
 	languagesComboBox->clear();
 	QMap<QString, QString>::iterator it = m_dictionaryMap->begin();
-	while (it != dictionaryMap->end())
+	while (it != m_dictionaryMap->end())
 	{
 		QString lang=LanguageManager::instance()->getLangFromAbbrev(it.key(), true);
 		languagesComboBox->addItem(!lang.isEmpty() ? lang : it.key());




More information about the scribus-commit mailing list