]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/piano-pedal-performer.cc
*** empty log message ***
[lilypond.git] / lily / piano-pedal-performer.cc
index e19feb9e42c2415c8a01d5b7a7c93d3440ac297b..0edfcfb997d89e2d762b26463a5da7d05f9a258b 100644 (file)
@@ -7,7 +7,9 @@
 */
 
 #include "performer.hh"
+
 #include "audio-item.hh"
+#include "international.hh"
 #include "music.hh"
 
 /**
@@ -77,11 +79,11 @@ Piano_pedal_performer::process_music ()
       if (p->event_drul_[STOP])
        {
          if (!p->start_event_)
-           p->event_drul_[STOP]->origin ()->warning (_f ("can't find start of piano pedal: `%s'", String (p->name_)));
+           p->event_drul_[STOP]->origin ()->warning (_f ("can't find start of piano pedal: `%s'", std::string (p->name_)));
          else
            {
              Audio_piano_pedal *a = new Audio_piano_pedal;
-             a->type_string_ = String (p->name_);
+             a->type_string_ = std::string (p->name_);
              a->dir_ = STOP;
              audios_.push (a);
               Audio_element_info info(a, p->event_drul_[STOP]);
@@ -94,7 +96,7 @@ Piano_pedal_performer::process_music ()
        {
          p->start_event_ = p->event_drul_[START];
          Audio_piano_pedal *a = new Audio_piano_pedal;
-         a->type_string_ = String (p->name_);
+         a->type_string_ = std::string (p->name_);
          a->dir_ = START;
          audios_.push (a);
           Audio_element_info info(a, p->event_drul_[START]);
@@ -130,7 +132,7 @@ Piano_pedal_performer::try_music (Music *r)
     {
       for (Pedal_info *p = info_alist_; p->name_; p++)
        {
-         String nm = p->name_ + String ("Event");
+         std::string nm = p->name_ + std::string ("Event");
          if (ly_is_equal (r->get_property ("name"),
                           scm_str2symbol (nm.c_str ())))
            {