X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ffont-metric.cc;h=12d8807831d5d57023ef905de5bdb501a8d46972;hb=526ded3f2d71f4047ad0bf92d69c771fe993660e;hp=9901f4c38292987ab9376ac524d1c2e2e53a8a6c;hpb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;p=lilypond.git diff --git a/lily/font-metric.cc b/lily/font-metric.cc index 9901f4c382..12d8807831 100644 --- a/lily/font-metric.cc +++ b/lily/font-metric.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1999--2008 Han-Wen Nienhuys + (c) 1999--2009 Han-Wen Nienhuys Mats Bengtsson (the ugly TeX parsing in text_dimension) */ @@ -185,9 +185,8 @@ Font_metric::word_stencil (string str) const } Stencil -Font_metric::text_stencil (string str) const +Font_metric::text_stencil (string /* str */) const { - (void) str; programming_error("Cannot get a text stencil from this font"); return Stencil (Box (), SCM_EOL); }