]> git.lyx.org Git - lyx.git/blobdiff - src/PrinterParams.C
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / PrinterParams.C
index 3eb8bed6fb5b9d392b71dbce80e69be5ecc89398..850eedf279d55a14295a6cb11d69ecfbd6fec250 100644 (file)
 #include "PrinterParams.h"
 
 #include "support/lstrings.h"
-#include "support/LAssert.h"
+
+#include <boost/assert.hpp>
+
+using std::string;
 
 
 PrinterParams::PrinterParams(Target t,
@@ -65,13 +68,13 @@ void PrinterParams::testInvariant() const
 #ifdef ENABLE_ASSERTIONS
        switch (target) {
        case PRINTER:
-               //lyx::support::Assert(!printer_name.empty());
+               //BOOST_ASSERT(!printer_name.empty());
                break;
        case FILE:
-               lyx::support::Assert(!file_name.empty());
+               BOOST_ASSERT(!file_name.empty());
                break;
        default:
-               lyx::support::Assert(false);
+               BOOST_ASSERT(false);
                break;
        }
 #endif