X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fitem.cc;h=0a853484e05bb58c1a1f3ca7594d0b977a610abf;hb=4084f5affb220e6de38399e5e016be9759521045;hp=0f188ce59e0d9478a350fa36b5852d2d39698053;hpb=a6bd229f7fe1dc4a03478e14ccc0c0c66b225061;p=lilypond.git diff --git a/lily/item.cc b/lily/item.cc index 0f188ce59e..0a853484e0 100644 --- a/lily/item.cc +++ b/lily/item.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2010 Han-Wen Nienhuys + Copyright (C) 1997--2011 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -253,12 +253,6 @@ Item::pure_height (Grob *g, int start, int end) return cached_pure_height_ + pure_relative_y_coordinate (g, start, end); } -bool -Item::less (Grob * const &g1, Grob * const &g2) -{ - return dynamic_cast (g1)->get_column ()->get_rank () < dynamic_cast (g2)->get_column ()->get_rank (); -} - ADD_INTERFACE (Item, "Grobs can be distinguished in their role in the horizontal" " spacing. Many grobs define constraints on the spacing by"