]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-breaking-scheme.cc
Run grand replace for 2015.
[lilypond.git] / lily / page-breaking-scheme.cc
index 12929e510dfeb527e4a508ac6529c3fa250ff394..2ab01aa5095bfe5cfb17386b8a761bc3a60f0497 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2006--2012 Joe Neeman <joeneeman@gmail.com>
+  Copyright (C) 2006--2015 Joe Neeman <joeneeman@gmail.com>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@ LY_DEFINE (ly_page_turn_breaking, "ly:page-turn-breaking",
            " @var{pb} such that page turns only happen in specified places,"
            " returning its pages.")
 {
-  Page_turn_page_breaking b (unsmob_paper_book (pb));
+  Page_turn_page_breaking b (Paper_book::unsmob (pb));
   return b.solve ();
 }
 
@@ -39,7 +39,7 @@ LY_DEFINE (ly_optimal_breaking, "ly:optimal-breaking",
            " @var{pb} to minimize badness in bother vertical and horizontal"
            " spacing.")
 {
-  Optimal_page_breaking b (unsmob_paper_book (pb));
+  Optimal_page_breaking b (Paper_book::unsmob (pb));
   return b.solve ();
 }
 
@@ -49,7 +49,7 @@ LY_DEFINE (ly_minimal_breaking, "ly:minimal-breaking",
            " without looking for optimal spacing: stack as many lines on"
            " a page before moving to the next one.")
 {
-  Minimal_page_breaking b (unsmob_paper_book (pb));
+  Minimal_page_breaking b (Paper_book::unsmob (pb));
   return b.solve ();
 }
 
@@ -59,6 +59,6 @@ LY_DEFINE (ly_one_line_breaking, "ly:one-line-breaking",
            " page.  The paper-width setting will be modified so that"
            " every page will be wider than the widest line.")
 {
-  One_line_page_breaking b (unsmob_paper_book (pb));
+  One_line_page_breaking b (Paper_book::unsmob (pb));
   return b.solve ();
 }