]> 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 813243f48b0ae47db60e43c92860f3fa3fe0b21b..56a39c775d76da772180919699623742d7a34c99 100644 (file)
@@ -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
 {