X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FConverterCache.cpp;h=813243f48b0ae47db60e43c92860f3fa3fe0b21b;hb=a01ff241e2b9e9894fe2d8942b3b00fa380f939b;hp=2f0a946fd32a212deef34b73091ca2cf2ea6ce4b;hpb=7677e9487c1669735a2aa9b2356199c2f608fe15;p=lyx.git diff --git a/src/ConverterCache.cpp b/src/ConverterCache.cpp index 2f0a946fd3..813243f48b 100644 --- a/src/ConverterCache.cpp +++ b/src/ConverterCache.cpp @@ -25,7 +25,7 @@ #include "support/lyxtime.h" #include "support/Package.h" -#include +#include "support/lassert.h" #include #include @@ -409,7 +409,7 @@ FileName const & ConverterCache::cacheName(FileName const & orig_from, LYXERR(Debug::FILES, orig_from << ' ' << to_format); CacheItem * const item = pimpl_->find(orig_from, to_format); - BOOST_ASSERT(item); + LASSERT(item, /**/); return item->cache_name; } @@ -433,7 +433,7 @@ bool ConverterCache::copy(FileName const & orig_from, string const & to_format, } CacheItem * const item = pimpl_->find(orig_from, to_format); - BOOST_ASSERT(item); + LASSERT(item, /**/); Mover const & mover = getMover(to_format); return mover.copy(item->cache_name, dest, onlyFilename(dest.absFilename()));