X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpaper-score-scheme.cc;h=e2909e284433ebbccc10f5428e3f3c50e7beb91a;hb=767b370f4e4f4eceac501c532e07b199e1b8df4d;hp=40ea72fd2fa4c24eb8b008f12fc80fdbe393315e;hpb=f5e923a6ce8cebb7ef893c03ce56aa5e598002c9;p=lilypond.git diff --git a/lily/paper-score-scheme.cc b/lily/paper-score-scheme.cc index 40ea72fd2f..e2909e2844 100644 --- a/lily/paper-score-scheme.cc +++ b/lily/paper-score-scheme.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2005--2014 Han-Wen Nienhuys + Copyright (C) 2005--2015 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 @@ -27,6 +27,6 @@ LY_DEFINE (ly_paper_score_paper_systems, "ly:paper-score-paper-systems", { LY_ASSERT_SMOB (Paper_score, paper_score, 1); - Paper_score *pscore = dynamic_cast (Music_output::unsmob (paper_score)); + Paper_score *pscore = unsmob (paper_score); return pscore->get_paper_systems (); }