]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/abbrev.cc
release: 1.1.0
[lilypond.git] / lily / abbrev.cc
index b5cf16e37812278e01c9a3ef36af6df1d1ae2fd2..eb87945cd775fbac66812fdb3a74982a89f005f3 100644 (file)
@@ -13,7 +13,6 @@
 #include "paper-def.hh"
 #include "lookup.hh"
 #include "stem.hh"
-#include "dimension.hh"
 
 Abbreviation::Abbreviation ()
 {
@@ -130,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;
 }