]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/dots-engraver.cc
Doc: NR - Explain LP footer string is 'tagline'
[lilypond.git] / lily / dots-engraver.cc
index d588e5e92b3aa1f782ce5ebaf7d1caf82c82dd64..5465f460f6077e61d46fa4de53ffadbfe90b9495 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2006--2012 Han-Wen Nienhuys <hanwen@lilypond.org>
+  Copyright (C) 2006--2015 Han-Wen Nienhuys <hanwen@lilypond.org>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -43,10 +43,10 @@ Dots_engraver::acknowledge_rhythmic_head (Grob_info gi)
     return;
 
   Grob *note = gi.grob ();
-  if (unsmob_grob (note->get_object ("dot")))
+  if (unsmob<Grob> (note->get_object ("dot")))
     return;
 
-  Duration *dur = unsmob_duration (cause->get_property ("duration"));
+  Duration *dur = unsmob<Duration> (cause->get_property ("duration"));
   if (dur && dur->dot_count ())
     {
       Item *d = make_item ("Dots", note->self_scm ());