]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/minimal-page-breaking.cc
Run grand-replace (issue 3765)
[lilypond.git] / lily / minimal-page-breaking.cc
index f26b4b5886ecb62619d196d7583b909bb5a2311d..8f065632dd4575fa4494f2860c0bcf031246ef0b 100644 (file)
@@ -1,11 +1,20 @@
 /*
-  minimal-page-breaking.cc -- implement a page-breaker that stacks as
-  many systems on a page before moving to the next one. Specialized
-  for books with many pages, or a lot of text.
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
+  Copyright (C) 2007--2014 Nicolas Sceaux <nicolas.sceaux@free.fr>
 
-  (c) 2007--2008 Nicolas Sceaux <nicolas.sceaux@free.fr>
+  LilyPond is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  LilyPond is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "international.hh"
 #include "page-spacing.hh"
 #include "paper-book.hh"
 
-static bool
-is_break (Grob *)
-{
-  return false;
-}
-
 Minimal_page_breaking::Minimal_page_breaking (Paper_book *pb)
-  : Page_breaking (pb, is_break)
+  : Page_breaking (pb, 0, 0)
 {
 }