]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bow.cc
release: 1.1.28
[lilypond.git] / lily / bow.cc
index bd4827ba9169a7c5a617be83d16e446047b688a8..ce0e3e4f3f6707e1f115d310267c6e15a836eecb 100644 (file)
@@ -33,7 +33,7 @@ Bow::do_brew_molecule_p () const
   Real thick = paper ()->get_var ("slur_thickness");
   Array<Offset> c = get_controls ();
   Real dy = c[3].y () - c[0].y ();
-  Atom a;
+  Molecule a;
 
   if (!dash_i_)
     a = lookup_l ()->slur (c);
@@ -56,7 +56,7 @@ Bow::do_brew_molecule_p () const
   a.translate (Offset (dx_f_drul_[LEFT], dy_f_drul_[LEFT]));
 
   Molecule* mol_p = new Molecule;
-  mol_p->add_atom (a);
+  mol_p->add_molecule (a);
   mol_p->translate_axis (-interstaff_f_, Y_AXIS);
 
   return mol_p;