]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_win32.cpp
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / support / os_win32.cpp
index 6f89eafa79989c322f1b0e1eda35b1f1b42e61eb..b03cdb9ce61c50305426535f0bb78507b768cc47 100644 (file)
 
 #include "support/os.h"
 #include "support/os_win32.h"
+
 #include "support/debug.h"
+#include "support/FileName.h"
 #include "support/gettext.h"
 #include "support/filetools.h"
 #include "support/lstrings.h"
 #include "support/ExceptionMessage.h"
 
-#include <boost/assert.hpp>
+#include "support/assert.h"
 
 #include <cstdlib>
 #include <vector>
@@ -209,7 +211,7 @@ static string const get_long_path(string const & short_path)
                long_path.resize(result);
                result = GetLongPathName(short_path.c_str(),
                                         &long_path[0], long_path.size());
-               BOOST_ASSERT(result <= long_path.size());
+               LASSERT(result <= long_path.size(), /**/);
        }
 
        return (result == 0) ? short_path : to_utf8(from_filesystem8bit(&long_path[0]));
@@ -327,7 +329,7 @@ string const GetFolderPath::operator()(folder_id _id) const
                id = CSIDL_APPDATA;
                break;
        default:
-               BOOST_ASSERT(false);
+               LASSERT(false, /**/);
        }
        HRESULT const result = (folder_path_func_)(0, id, 0,
                                                   SHGFP_TYPE_CURRENT,