]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/text-spanner.cc
release: 1.1.0
[lilypond.git] / lily / text-spanner.cc
index 2bafc76723ffb2e70aacf1f7c9ddb723cc668fae..522081cedfa146e31b50277c983da4eda25c717f 100644 (file)
@@ -81,7 +81,7 @@ void
 Text_spanner::do_substitute_dependency (Score_element* o, Score_element*n)
 {
   if (support_span_l_ == o) 
-       support_span_l_ = (Directional_spanner*) (n?n->access_Spanner ():0);
+       support_span_l_ = (Directional_spanner*) (n?dynamic_cast <Spanner *> (n):0);
 }