]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/relative-octave-music.cc
release: 1.3.93
[lilypond.git] / lily / relative-octave-music.cc
index af18a32b1d80e230d3276ce6e4a81202a4d515d9..5f8081afa0c177e1b908c1e1c1bcae14cdf8a7a9 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -20,14 +20,8 @@ Relative_octave_music::to_relative_octave (Musical_pitch)
 Relative_octave_music::Relative_octave_music(Music*p,Musical_pitch def)
   : Music_wrapper (p)
 {
-  last_pitch_ = element_l ()->to_relative_octave (def);
+  last_pitch_ = element ()->to_relative_octave (def);
 }
 
-void
-Relative_octave_music::do_print () const
-{
-  Music_wrapper::do_print ();
-  DEBUG_OUT << "default pitch: " << last_pitch_.str ();
-}