]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie-formatting-problem.cc
use PaperColumns instead of SeparationItems
[lilypond.git] / lily / tie-formatting-problem.cc
index 3105d784f1615a8e9ec459bfeb99289fa6bb3e1c..3a8ed37a6248150dc2893d81548a8229f17e8b77 100644 (file)
@@ -316,18 +316,9 @@ Tie_formatting_problem::from_ties (vector<Grob*> const &ties)
        {
          Item *it = dynamic_cast<Spanner*> (ties[i])->get_bound (d);
          if (it->break_status_dir ())
-           {
-             Item *sep
-               = dynamic_cast<Item*> (unsmob_grob (ties[i]->get_object ("separation-item")));
-             if (sep && sep->get_column () == it->get_column ())
-               it = sep;
+             it = it->get_column ();
 
-             bounds.push_back (it);
-           }
-         else 
-           {
-             bounds.push_back (it);
-           }
+         bounds.push_back (it);
        }
       
       set_chord_outline (bounds, d);