]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/ledger-line-engraver.cc
Run grand replace for 2015.
[lilypond.git] / lily / ledger-line-engraver.cc
index e1d2539f09bc5fb223b82d1f82f8bacd60af053a..9004dc07e39bce7dcc0d939b9c0140bf65d6fa68 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2004--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2004--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -53,7 +53,7 @@ Ledger_line_engraver::start_spanner ()
   assert (!span_);
 
   span_ = make_spanner ("LedgerLineSpanner", SCM_EOL);
-  span_->set_bound (LEFT, unsmob_grob (get_property ("currentCommandColumn")));
+  span_->set_bound (LEFT, Grob::unsmob (get_property ("currentCommandColumn")));
 }
 
 void
@@ -94,8 +94,7 @@ Ledger_line_engraver::stop_spanner ()
 {
   if (span_)
     {
-      span_->set_bound (RIGHT, unsmob_grob (get_property ("currentCommandColumn")));
-      Pointer_group_interface::set_ordered (span_, ly_symbol2scm ("elements"), false);
+      span_->set_bound (RIGHT, Grob::unsmob (get_property ("currentCommandColumn")));
       span_ = 0;
     }
 }