From: fred Date: Tue, 26 Mar 2002 23:10:04 +0000 (+0000) Subject: lilypond-1.3.39 X-Git-Tag: release/1.5.59~1724 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1d95e7596b8c09fb9259f6c70a0b62a6e63a2049;p=lilypond.git lilypond-1.3.39 --- diff --git a/lily/item.cc b/lily/item.cc index 45cea7a7c4..0458144c35 100644 --- a/lily/item.cc +++ b/lily/item.cc @@ -44,9 +44,7 @@ Line_of_score * Item::line_l() const { Score_element *g = parent_l (X_AXIS); - if (!g) - return 0; - return dynamic_cast (g)-> line_l (); + return g ? g->line_l () : 0; }