r22121 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Fri Jul 21 12:10:20 UTC 2017
Author: jghali
Date: Fri Jul 21 12:10:20 2017
New Revision: 22121
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22121
Log:
fix oops in previous commit
Modified:
trunk/Scribus/scribus/selection.cpp
Modified: trunk/Scribus/scribus/selection.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22121&path=/trunk/Scribus/scribus/selection.cpp
==============================================================================
--- trunk/Scribus/scribus/selection.cpp (original)
+++ trunk/Scribus/scribus/selection.cpp Fri Jul 21 12:10:20 2017
@@ -472,10 +472,9 @@
return false;
SelectionList::ConstIterator it = m_SelList.begin();
SelectionList::ConstIterator itend = m_SelList.end();
- PageItem::ItemType itemType = (*it)->itemType();
for (; it != itend; ++it)
{
- if ((*it)->itemType() == itemType)
+ if ((*it)->itemType() == type)
return true;
}
return false;
More information about the scribus-commit
mailing list