]> git.lyx.org Git - lyx.git/blobdiff - src/PrinterParams.h
remove noload/don't typeset
[lyx.git] / src / PrinterParams.h
index 413201733818616b40aea6514544a15ca0d97d33..8b6150552f0935bc46503610ba747d1c2a54509c 100644 (file)
@@ -1,9 +1,9 @@
 // -*- C++ -*-
 /* This file is part of
  * ======================================================
- * 
+ *
  *         LyX, The Document Processor
- *      
+ *
  *         Copyright 1995 Matthias Ettrich
  *         Copyright 1995-2001 The LyX Team
  *
 #ifndef PRINTERPARAMS_H
 #define PRINTERPARAMS_H
 
-#ifndef LYXRC_H
-#error You must include lyxrc.h before PrinterParams.h
-#endif
+#include "lyxrc.h"
 
 #ifdef ENABLE_ASSERTIONS
+#include "support/lstrings.h"
 #include "support/LAssert.h"
-extern bool containsOnly(string const &, char const *);
 #endif
 
 
@@ -73,11 +71,11 @@ struct PrinterParams {
        ///
        bool unsorted_copies;
        ///
-       int count_copies;
+       int count_copies;
        // The settings below should allow us to print any read-only doc in
        // whatever size/orientation we want it -- overriding the documents
        // settings.
-        // Override the documents orientation
+       // Override the documents orientation
        // bool orientation;
        // Print n pages per physical sheet
        // unsigned int nup;
@@ -104,7 +102,7 @@ struct PrinterParams {
                        }
                        switch (target) {
                        case PRINTER:
-//                             Assert(!printer_name.empty());
+//                             Assert(!printer_name.empty());
                                break;
                        case FILE:
                                lyx::Assert(!file_name.empty());