]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tab-note-heads-engraver.cc
2003 -> 2004
[lilypond.git] / lily / tab-note-heads-engraver.cc
index ffed86e25d1a695736e10398d7298653030fe470..1e3f78cbc6a7cc77e2036e65a24feb5b4d89081d 100644 (file)
@@ -1,7 +1,7 @@
 /*
   head-grav.cc -- part of GNU LilyPond
 
-  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 #include <ctype.h>
 #include <stdio.h>
@@ -73,7 +73,7 @@ Tab_note_heads_engraver::process_music ()
       int number_of_strings = ((int) gh_length(stringTunings));
       bool high_string_one = to_boolean(get_property ("highStringOne"));
 
-      Item * note  = new Item (get_property ("TabNoteHead"));
+      Item * note  = make_item ("TabNoteHead");
       
       Music * event = note_events_[i];
 
@@ -115,7 +115,7 @@ Tab_note_heads_engraver::process_music ()
 
       if (dur.dot_count ())
        {
-         Item * d = new Item (get_property ("Dots"));
+         Item * d = make_item ("Dots");
          Rhythmic_head::set_dots (note, d);
          
          if (dur.dot_count ()