]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCacheItem.cpp
Add context menu for outline operations. Choice of words might not be best.
[lyx.git] / src / graphics / GraphicsCacheItem.cpp
index c4044e5d3fbc51369655d8f3c939d1aabddee772..13d42a2bfecdaeefcb9d0a94fdd462d6a67bc4c2 100644 (file)
 #include "GraphicsImage.h"
 
 #include "ConverterCache.h"
-#include "support/debug.h"
 #include "Format.h"
 
+#include "support/debug.h"
+#include "support/FileName.h"
 #include "support/filetools.h"
 #include "support/FileMonitor.h"
 
@@ -323,7 +324,7 @@ static string const findTargetFormat(string const & from)
        FormatList const formats = lyx::graphics::Image::loadableFormats();
 
         // There must be a format to load from.
-       BOOST_ASSERT(!formats.empty());
+       LASSERT(!formats.empty(), /**/);
 
        // Use the standard converter if we don't know the format to load
        // from.