]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileName.cpp
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / support / FileName.cpp
index e847ecc5a2ace72d7073febeb51644fb4e69e23d..fb30988f9b6ace37de1c23f99c4435b6f9a6f7d1 100644 (file)
@@ -28,7 +28,7 @@
 #include <QList>
 #include <QTime>
 
-#include <boost/assert.hpp>
+#include "support/assert.h"
 #include <boost/scoped_array.hpp>
 
 #include <map>
@@ -523,14 +523,14 @@ static int mymkdir(char const * pathname, unsigned long int mode)
 
 bool FileName::createDirectory(int permission) const
 {
-       BOOST_ASSERT(!empty());
+       LASSERT(!empty(), /**/);
        return mymkdir(toFilesystemEncoding().c_str(), permission) == 0;
 }
 
 
 bool FileName::createPath() const
 {
-       BOOST_ASSERT(!empty());
+       LASSERT(!empty(), /**/);
        if (isDirectory())
                return true;