]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/rhythmic-head.cc
release: 1.5.29
[lilypond.git] / lily / rhythmic-head.cc
index 849a849e434de28eb1e3117799c143dcb79bc44a..16e482d957cffb52aa533ec62d66d9c2266b2495 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "rhythmic-head.hh"
@@ -18,7 +18,7 @@ Item*
 Rhythmic_head::dots_l (Grob*me) 
 {
   SCM s = me->get_grob_property ("dot");
-  return dynamic_cast<Item*> (unsmob_grob (s));
+  return unsmob_item (s);
 }
 
 int
@@ -32,7 +32,7 @@ Item*
 Rhythmic_head::stem_l (Grob*me) 
 {
   SCM s = me->get_grob_property ("stem");
-  return dynamic_cast<Item*> (unsmob_grob (s));
+  return unsmob_item (s);
 }
 
 int