r22491 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:47:16 UTC 2018
Author: jghali
Date: Sun Apr 29 00:47:16 2018
New Revision: 22491
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22491
Log:
#15277: Fix incorrect warning "same iterator is used with different containers"
Modified:
trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
Modified: trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22491&path=/trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp (original)
+++ trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp Sun Apr 29 00:47:16 2018
@@ -44,7 +44,7 @@
languagesComboBox->clear();
QMap<QString, QString>::iterator it = m_dictionaryMap->begin();
QStringList langsToAdd;
- while (it != dictionaryMap->end())
+ while (it != m_dictionaryMap->end())
{
QString lang=LanguageManager::instance()->getLangFromAbbrev(it.key(), true);
if (!langsToAdd.contains(lang))
More information about the scribus-commit
mailing list