]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/abbrev.cc
release: 1.1.0
[lilypond.git] / lily / abbrev.cc
index 4af78938bc5c78c2ef3fee0a1ec5bc04feddaa49..eb87945cd775fbac66812fdb3a74982a89f005f3 100644 (file)
@@ -129,7 +129,7 @@ void
 Abbreviation::do_substitute_dependent (Score_element*o, Score_element*n)
 {
   if (stem_l_ == o)
-    stem_l_ = n ? (Stem*)n->access_Item () : 0;
+    stem_l_ = n ? dynamic_cast<Stem*> (n) : 0;
 }