]> git.donarmstrong.com Git - lilypond.git/commitdiff
staff-symbol-referencer.cc: Junk redundant functions.
authorNeil Puttock <n.puttock@gmail.com>
Tue, 12 Aug 2008 23:36:15 +0000 (00:36 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Tue, 12 Aug 2008 23:36:15 +0000 (00:36 +0100)
lily/include/staff-symbol-referencer.hh
lily/staff-symbol-referencer.cc

index 4a43a94e037e46d221bd60d68eb9fba8703f1b05..51fe44fc466fdd3a26280b294e6823c28119be77 100644 (file)
@@ -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 *);
index 4d1c3552c7a7cfceeba41ece0975fd3444c2dff8..38c39e04fe1851ec00dbc26893937040e065acee 100644 (file)
@@ -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)
 {