]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bar-engraver.cc
* Documentation/user/refman.itely (Automatic note splitting):
[lilypond.git] / lily / bar-engraver.cc
index a23eb3402c2d7b77818ef0aa6e99f75488844c43..34a9d773d5ae13c44a4b9bec3d1c3919fb292526 100644 (file)
@@ -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);