X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fkievan-ligature-engraver.cc;h=f56e73c101e4e65d404edc593ff83e69a6e77975;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=85d6d8dc0fb66dcf0eb85d9cb4603908c24e0eef;hpb=9e781b7dc83b60a543ce218aa1a5f139f74c760f;p=lilypond.git diff --git a/lily/kievan-ligature-engraver.cc b/lily/kievan-ligature-engraver.cc index 85d6d8dc0f..f56e73c101 100644 --- a/lily/kievan-ligature-engraver.cc +++ b/lily/kievan-ligature-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2013--2014 Aleksandr Andreev + Copyright (C) 2013--2015 Aleksandr Andreev LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -81,7 +81,7 @@ Kievan_ligature_engraver::fold_up_primitives (vector const &primitive first = current; // must keep track of accidentals in spacing problem - Grob *acc_gr = unsmob_grob (current->get_object ("accidental-grob")); + Grob *acc_gr = Grob::unsmob (current->get_object ("accidental-grob")); if (acc_gr && i > 0) { Interval acc_ext = acc_gr->extent (acc_gr, X_AXIS); @@ -107,7 +107,7 @@ Kievan_ligature_engraver::fold_up_primitives (vector const &primitive if (i < primitives.size () - 1) { Item *next = dynamic_cast (primitives[i + 1].grob ()); - Grob *acc_gr = unsmob_grob (next->get_object ("accidental-grob")); + Grob *acc_gr = Grob::unsmob (next->get_object ("accidental-grob")); if (acc_gr) { Interval acc_ext = acc_gr->extent (acc_gr, X_AXIS);