From: Neil Puttock Date: Tue, 12 Aug 2008 23:36:15 +0000 (+0100) Subject: staff-symbol-referencer.cc: Junk redundant functions. X-Git-Tag: release/2.11.56-1~2^2~14^2~3^2~1^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9d8942c954e7d44d121c89719aceb91cf83d51ed;p=lilypond.git staff-symbol-referencer.cc: Junk redundant functions. --- diff --git a/lily/include/staff-symbol-referencer.hh b/lily/include/staff-symbol-referencer.hh index 4a43a94e03..51fe44fc46 100644 --- a/lily/include/staff-symbol-referencer.hh +++ b/lily/include/staff-symbol-referencer.hh @@ -31,10 +31,8 @@ public: static Real line_thickness (Grob *); static Real staff_space (Grob *); static Grob *get_staff_symbol (Grob *); - static bool on_line (Grob *); static bool on_line (Grob *, int); static bool on_staff_line (Grob *, int); - static bool on_staff_line (Grob *); static int line_count (Grob *); static Real get_position (Grob *); static Real staff_radius (Grob *); diff --git a/lily/staff-symbol-referencer.cc b/lily/staff-symbol-referencer.cc index 4d1c3552c7..38c39e04fe 100644 --- a/lily/staff-symbol-referencer.cc +++ b/lily/staff-symbol-referencer.cc @@ -20,18 +20,6 @@ Staff_symbol_referencer::line_count (Grob *me) return st ? Staff_symbol::line_count (st) : 0; } -bool -Staff_symbol_referencer::on_line (Grob *me) -{ - return on_line (me, (int) rint (get_position (me))); -} - -bool -Staff_symbol_referencer::on_staff_line (Grob *me) -{ - return on_staff_line (me, (int) rint (get_position (me))); -} - bool Staff_symbol_referencer::on_line (Grob *me, int pos) {