]> git.donarmstrong.com Git - lilypond.git/blobdiff - item.cc
release: 0.0.7
[lilypond.git] / item.cc
diff --git a/item.cc b/item.cc
index 96ec8a890a4c7ed742d2c6b23bb50c612f992975..4a84f477044c45b145e81b17c568dda3670e27a5 100644 (file)
--- 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()
 {