]> git.lyx.org Git - lyx.git/blobdiff - src/PrinterParams.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / PrinterParams.h
index ff4c9dfc793364c1158e0c702a036a3c2bed0f2b..aa6d499664e0b3d7f4159961263673592ce73a1e 100644 (file)
@@ -87,13 +87,13 @@ struct PrinterParams {
 #ifdef ENABLE_ASSERTIONS
                        switch (target) {
                        case PRINTER:
-                               //Assert(!printer_name.empty());
+                               //lyx::support::Assert(!printer_name.empty());
                                break;
                        case FILE:
-                               lyx::Assert(!file_name.empty());
+                               lyx::support::Assert(!file_name.empty());
                                break;
                        default:
-                               lyx::Assert(false);
+                               lyx::support::Assert(false);
                                break;
                        }
 #endif
@@ -105,7 +105,7 @@ struct PrinterParams {
                      string const & fname = string(),
                      bool const all = true,
                      unsigned int const & from = 1,
-                     unsigned int const & to = 1,
+                     unsigned int const & to = 0,
                      bool const odd = true,
                      bool const even = true,
                      unsigned int const & copies = 1,