]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bar-engraver.cc
2003 -> 2004
[lilypond.git] / lily / bar-engraver.cc
index 6d38520d207805a0c952c7c119cb8f61a470e69c..f3b94b25329305ae2334db40a495c8ca7b748cb6 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
@@ -47,7 +47,7 @@ Bar_engraver::create_bar ()
 {
   if (!bar_)
     {
-      bar_ = new Item (get_property ("BarLine"));
+      bar_ = make_item ("BarLine");
       SCM gl = get_property ("whichBar");
       if (scm_equal_p (gl, bar_->get_grob_property ("glyph")) != SCM_BOOL_T)
          bar_->set_grob_property ("glyph", gl);