X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftranslator-group.cc;h=fb6d2580ed09bf2b50461104272e633bee972220;hb=53ed6257ae65d5a12b45da9fce930267ed12db48;hp=c0aff72021625bc9de634beaf83ab959540e4100;hpb=744614ec4497e540fbaa6ad9bf6e842f4b99442a;p=lilypond.git diff --git a/lily/translator-group.cc b/lily/translator-group.cc index c0aff72021..fb6d2580ed 100644 --- a/lily/translator-group.cc +++ b/lily/translator-group.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2006 Han-Wen Nienhuys , + (c) 1997--2008 Han-Wen Nienhuys , Erik Sandberg */ @@ -21,11 +21,6 @@ #include "scm-hash.hh" #include "warn.hh" -Translator_group * -Translator_group::get_daddy_translator () const -{ - return context ()->get_parent_context ()->implementation (); -} void translator_each (SCM list, Translator_method method) @@ -148,7 +143,7 @@ Translator_group::create_child_translator (SCM sev) { Translator *type = get_translator (scm_car (s)); if (!type) - warning (_f (cannot find: `%s'", ly_symbol2string (scm_car (s)).c_str ())); + warning (_f ("cannot find: `%s'", ly_symbol2string (scm_car (s)).c_str ())); else { Translator *tr = type->clone (); @@ -219,7 +214,8 @@ precomputed_recurse_over_translators (Context *c, Translator_precompute_index id } void -recurse_over_translators (Context *c, Translator_method ptr, Translator_group_method tg_ptr, Direction dir) +recurse_over_translators (Context *c, Translator_method ptr, + Translator_group_method tg_ptr, Direction dir) { Translator_group *tg = dynamic_cast (c->implementation ());