]> git.lyx.org Git - lyx.git/blobdiff - src/PrinterParams.cpp
More useful message (tells the user that ESC cancels the long operation in progress).
[lyx.git] / src / PrinterParams.cpp
index 0a6620f6c6d27f1d839f3828e6a284607ad482ad..fd585903acfc965a47ad886779f6115c760a267a 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "LyXRC.h"
 
-#include "support/assert.h"
+#include "support/lassert.h"
 #include "support/lstrings.h"
 
 
@@ -42,7 +42,9 @@ void PrinterParams::testInvariant() const
 {
        switch (target) {
        case PRINTER:
-               LASSERT(!printer_name.empty(), /**/);
+               // We can't do this test, because no default printer
+               // may have been set.
+               // LASSERT(!printer_name.empty(), /**/);
                break;
        case FILE:
                LASSERT(!file_name.empty(), /**/);