From: fred Date: Mon, 4 Nov 1996 13:07:55 +0000 (+0000) Subject: lilypond-0.0.7 X-Git-Tag: release/1.5.59~6937 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b769e20dfd5d324c2355630e6a6b0227197a993e;p=lilypond.git lilypond-0.0.7 --- diff --git a/item.cc b/item.cc index 96ec8a890a..4a84f47704 100644 --- a/item.cc +++ b/item.cc @@ -3,31 +3,6 @@ #include "molecule.hh" #include "pcol.hh" -String -Spanner::TeXstring() const -{ - assert(right->line); - Real w = left->hpos - right->hpos; - return strets->eval(w).tex; -} - -Spanner * -Spanner::broken_at(const PCol *c1, const PCol *c2) const -{ - Spanner *sp = new Spanner(*this); - sp->left = c1; - sp->right = c2; - return sp; -} - -Spanner::Spanner() -{ - pstaff_=0; - strets=0; - left = right = 0; -} - -/****************************************************************/ String Item::TeXstring() const { @@ -46,7 +21,10 @@ Item::height() const return output->extent().y; } -/****************************************************************/ +Item::~Item() +{ + delete output; +} Item::Item() {