]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/forbid-break-engraver.cc
* ps/lilyponddefs.ps: Remove automatic page layout.
[lilypond.git] / lily / forbid-break-engraver.cc
index b2a5d802c5dae18b20415c297c540e10dd82b2bc..a7bf47b2df2924dc84165092c3b2df49ce91f6be 100644 (file)
@@ -6,21 +6,21 @@
 class Forbid_line_break_engraver : public Engraver
 {
 public:
-  TRANSLATOR_DECLARATIONS(Forbid_line_break_engraver);
+  TRANSLATOR_DECLARATIONS (Forbid_line_break_engraver);
   virtual void start_translation_timestep ();
 };
 
-Forbid_line_break_engraver::Forbid_line_break_engraver(){}
+Forbid_line_break_engraver::Forbid_line_break_engraver (){}
 
 void
-Forbid_line_break_engraver::start_translation_timestep()
+Forbid_line_break_engraver::start_translation_timestep ()
 {
   /*
     Check for running note heads. This should probably be done elsewhere.
    */
   SCM busy = get_property ("busyGrobs");
 
-  Moment now = now_mom();
+  Moment now = now_mom ();
   while (gh_pair_p (busy) && unsmob_moment (gh_caar (busy))->main_part_ == now.main_part_)
     busy = gh_cdr (busy);
 
@@ -30,14 +30,14 @@ Forbid_line_break_engraver::start_translation_timestep()
       Grob *g = unsmob_grob (gh_cdar (busy));
       if (Rhythmic_head::has_interface (g))
        {
-         get_score_engraver()->forbid_breaks();
+         get_score_engraver ()->forbid_breaks ();
        }
-      busy = gh_cdr(busy);
+      busy = gh_cdr (busy);
     }
 }
 
 
-ENTER_DESCRIPTION(Forbid_line_break_engraver,
+ENTER_DESCRIPTION (Forbid_line_break_engraver,
 /* descr */       "Forbid line breaks when note heads are still playing at some point.",
 /* creats*/       "",
 /* accepts */     "",