Skip to content

Commit

Permalink
fix #30686
Browse files Browse the repository at this point in the history
  • Loading branch information
lvinken committed Sep 14, 2014
1 parent 6e5926d commit 8cf7751
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions mscore/exportxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -481,11 +481,9 @@ void SlurHandler::doSlurStart(Chord* chord, Notations& notations, Xml& xml, bool
return;
}
// search for slur(s) starting at this chord
int tick = chord->tick();
auto sl = chord->score()->spanner();
for (auto it = sl.lower_bound(tick); it != sl.upper_bound(tick); ++it) {
Spanner* sp = it->second;
if (sp->type() != Element::Type::SLUR || sp->track() != chord->track())
for (auto it : chord->score()->spanner()) {
Spanner* sp = it.second;
if (sp->type() != Element::Type::SLUR || sp->tick() != chord->tick() || sp->track() != chord->track())
continue;
const Slur* s = static_cast<const Slur*>(sp);
// check if on slur list (i.e. stop already seen)
Expand Down

0 comments on commit 8cf7751

Please sign in to comment.