X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Frest-collision-engraver.cc;h=47e2d71f11d00b0c2c978807c61af21dead1582b;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=66a2c558a4200796d021295491be1ecbcd43f5e1;hpb=40aac0ae57ee113faa860ba221d83d9e6312173e;p=lilypond.git diff --git a/lily/rest-collision-engraver.cc b/lily/rest-collision-engraver.cc index 66a2c558a4..47e2d71f11 100644 --- a/lily/rest-collision-engraver.cc +++ b/lily/rest-collision-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2014 Han-Wen Nienhuys + Copyright (C) 1997--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -57,8 +57,8 @@ Rest_collision_engraver::process_acknowledged () for (SCM s = get_property ("busyGrobs"); scm_is_pair (s); s = scm_cdr (s)) { - Grob *g = unsmob_grob (scm_cdar (s)); - Moment *m = unsmob_moment (scm_caar (s)); + Grob *g = Grob::unsmob (scm_cdar (s)); + Moment *m = Moment::unsmob (scm_caar (s)); if (!g || !m) continue; @@ -66,10 +66,7 @@ Rest_collision_engraver::process_acknowledged () { Grob *column = g->get_parent (X_AXIS); if (!column) - { - g->warning (_ ("rhythmic head is not part of a rhythmic column")); continue; - } // Only include rests that start now. Include notes that started any time. Paper_column *paper_column = dynamic_cast (column)->get_column ();