r25036 by jghali - Small code cleanup
scribus-commit
scribus-commit at lists.scribus.net
Wed Mar 16 23:12:48 UTC 2022
Author: jghali
Date: Wed Mar 16 23:12:48 2022
New Revision: 25036
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=25036
Log:
Small code cleanup
Modified:
trunk/Scribus/scribus/scribus.cpp
Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=25036&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Wed Mar 16 23:12:48 2022
@@ -2842,8 +2842,7 @@
int max = qMin(m_prefsManager.appPrefs.scrapbookPrefs.numScrapbookCopies, scrapbookPalette->tempBView->objectMap.count());
if (max > 0)
{
- QMap<QString,BibView::Elem>::Iterator it;
- it = scrapbookPalette->tempBView->objectMap.end();
+ auto it = scrapbookPalette->tempBView->objectMap.end();
QString strippedName;
for (int i = 0; i < max; ++i)
{
More information about the scribus-commit
mailing list