summaryrefslogtreecommitdiff
path: root/lily/spanner.cc
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>2007-01-11 01:36:05 +0100
committerHan-Wen Nienhuys <hanwen@xs4all.nl>2007-01-11 01:36:05 +0100
commite79a1b386108bd84ef04a4a71b21b4049ca6b867 (patch)
treee514c1e12aae2227b0337a463288ad7b29b2e37c /lily/spanner.cc
parentf3c30ddfc117cff27ac2f89ad9b7eb6ffc936c76 (diff)
excise object keys from back-end.
Diffstat (limited to 'lily/spanner.cc')
-rw-r--r--lily/spanner.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/lily/spanner.cc b/lily/spanner.cc
index 09359644b9..e1fe55efe1 100644
--- a/lily/spanner.cc
+++ b/lily/spanner.cc
@@ -16,9 +16,9 @@
#include "warn.hh"
Grob *
-Spanner::clone (int count) const
+Spanner::clone () const
{
- return new Spanner (*this, count);
+ return new Spanner (*this);
}
void
@@ -64,7 +64,7 @@ Spanner::do_break_processing ()
programming_error ("no broken bound");
else if (bound->get_system ())
{
- Spanner *span = dynamic_cast<Spanner *> (clone (broken_intos_.size ()));
+ Spanner *span = dynamic_cast<Spanner *> (clone ());
span->set_bound (LEFT, bound);
span->set_bound (RIGHT, bound);
@@ -102,7 +102,7 @@ Spanner::do_break_processing ()
continue;
}
- Spanner *span = dynamic_cast<Spanner *> (clone (broken_intos_.size ()));
+ Spanner *span = dynamic_cast<Spanner *> (clone ());
span->set_bound (LEFT, bounds[LEFT]);
span->set_bound (RIGHT, bounds[RIGHT]);
@@ -196,16 +196,16 @@ Spanner::set_bound (Direction d, Grob *s)
Pointer_group_interface::add_grob (i, ly_symbol2scm ("bounded-by-me"), this);
}
-Spanner::Spanner (SCM s, Object_key const *key)
- : Grob (s, key)
+Spanner::Spanner (SCM s)
+ : Grob (s)
{
break_index_ = 0;
spanned_drul_[LEFT] = 0;
spanned_drul_[RIGHT] = 0;
}
-Spanner::Spanner (Spanner const &s, int count)
- : Grob (s, count)
+Spanner::Spanner (Spanner const &s)
+ : Grob (s)
{
spanned_drul_[LEFT] = spanned_drul_[RIGHT] = 0;
}