]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie.cc
Issue 4503 (3/4) Eliminate Tie::get_position_generic
[lilypond.git] / lily / tie.cc
index 57cbf6e3f4587f73757600c6d7fcc46b3b7af8d8..ae81317e392665ac08cca89a1926e7853c342f04 100644 (file)
@@ -93,21 +93,6 @@ Tie::get_position (Spanner *me)
   return 0;
 }
 
-int
-Tie::get_position_generic (Grob *me) // TODO: do away with this
-{
-  Spanner *spanner = dynamic_cast<Spanner *> (me);
-  if (spanner)
-    return get_position (spanner);
-
-  Item *item = dynamic_cast<Item *> (me);
-  if (item)
-    return Semi_tie::get_position (item);
-
-  programming_error ("grob is neither a tie nor a semi-tie");
-  return 0;
-}
-
 /*
   Default:  Put the tie oppositie of the stem [Wanske p231]