X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fself-alignment-interface.cc;h=512f970e0e05fa500735eb9e93ec12039f58d5e1;hb=8ef577b8167ea72ecf5b976260f907046ad565c5;hp=49b4125364fa9ad1a0b23e1d91b9d244b3426f37;hpb=958e95822083954cad00e0a598eb9f12ceba67b9;p=lilypond.git diff --git a/lily/self-alignment-interface.cc b/lily/self-alignment-interface.cc index 49b4125364..512f970e0e 100644 --- a/lily/self-alignment-interface.cc +++ b/lily/self-alignment-interface.cc @@ -104,7 +104,7 @@ Self_alignment_interface::aligned_on_parent (Grob *me, Axis a) { Grob *him = me->get_parent (a); Interval he; - if (Paper_column::has_interface (him)) + if (has_interface (him)) /* PaperColumn extents aren't reliable (they depend on size and alignment of PaperColumn's children), so we align on NoteColumn instead. @@ -115,7 +115,7 @@ Self_alignment_interface::aligned_on_parent (Grob *me, Axis a) else { if (to_boolean (me->get_property ("X-align-on-main-noteheads")) - && Note_column::has_interface (him)) + && has_interface (him)) he = Note_column::calc_main_extent(him); else he = him->extent (him, a);