]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/complex-staff.cc
release: 0.0.46.jcn1
[lilypond.git] / lily / complex-staff.cc
index 661d8332ed4b292ab8b4bf8d52df1220f0dd4465..57d2fc086122b9f536a4c11b1e8442d187c98270 100644 (file)
@@ -1,13 +1,8 @@
 #include "complex-staff.hh"
 #include "complex-walker.hh"
-#include "score.hh"
 #include "p-score.hh"
-#include "staffsym.hh"
-#include "score-column.hh"
 
-const NO_LINES = 5;
-
-/** Aside from putting fields right, this generates the staff symbol.
+/** Aside from putting fields right
  */
 void
 Complex_staff::set_output(PScore* pscore_l )
@@ -15,18 +10,6 @@ Complex_staff::set_output(PScore* pscore_l )
     pstaff_l_ = new PStaff(pscore_l);
     pscore_l_ = pscore_l;
     pscore_l_->add(pstaff_l_);
-
-    Staff_symbol *span_p = new Staff_symbol(NO_LINES);
-    
-    Score_column* col_last
-       =score_l_->find_col(score_l_->last(), false);
-    Score_column* col_first=
-       score_l_->find_col(0, false);
-       
-    span_p->set_extent(col_first->pcol_l_->postbreak_p_,
-                      col_last->pcol_l_->prebreak_p_);
-
-    pscore_l_->typeset_spanner(span_p, pstaff_l_);
 }