]> git.lyx.org Git - lyx.git/blobdiff - src/ConverterCache.cpp
Fix up the InsetMathGrid output: detect better if we have a table, and
[lyx.git] / src / ConverterCache.cpp
index d4e8292f7ef645176ae18ac5c4bd0bd8f263343d..56a39c775d76da772180919699623742d7a34c99 100644 (file)
@@ -25,7 +25,7 @@
 #include "support/lyxtime.h"
 #include "support/Package.h"
 
-#include "support/assert.h"
+#include "support/lassert.h"
 #include <boost/crc.hpp>
 
 #include <algorithm>
@@ -216,9 +216,6 @@ ConverterCache::ConverterCache()
 
 ConverterCache::~ConverterCache()
 {
-       if (!lyxrc.use_converter_cache)
-               return;
-       pimpl_->writeIndex();
        delete pimpl_;
 }
 
@@ -248,6 +245,12 @@ void ConverterCache::init()
 }
 
 
+void ConverterCache::writeIndex() const
+{
+       pimpl_->writeIndex();
+}
+
+
 void ConverterCache::add(FileName const & orig_from, string const & to_format,
                FileName const & converted_file) const
 {