X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ffont-metric.cc;h=12d8807831d5d57023ef905de5bdb501a8d46972;hb=a2114ca951cb5bcd9c20f3192687e7198002cd7e;hp=215bf679812bee9da7f56682e67dd41cfd9b9bb9;hpb=41d87651a93844bceca9a8ccb6417642aca24457;p=lilypond.git diff --git a/lily/font-metric.cc b/lily/font-metric.cc index 215bf67981..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--2007 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); }