CacheItem item(orig_from_name, to_format, timestamp, checksum);
// Don't cache files that do not exist anymore
- if (!fs::exists(orig_from)) {
+ if (!fs::exists(orig_from_name.toFilesystemEncoding())) {
lyxerr[Debug::FILES] << "Not caching file `"
<< orig_from << "' (does not exist anymore)."
<< std::endl;
CacheItem * item = pimpl_->find(orig_from, to_format);
time_t const timestamp = fs::last_write_time(orig_from.toFilesystemEncoding());
- Mover const & mover = movers(to_format);
+ Mover const & mover = getMover(to_format);
if (item) {
lyxerr[Debug::FILES] << "ConverterCache::add(" << orig_from << "):\n"
"The file is already in the cache."
CacheItem * const item = pimpl_->find(orig_from, to_format);
BOOST_ASSERT(item);
- Mover const & mover = movers(to_format);
+ Mover const & mover = getMover(to_format);
return mover.copy(item->cache_name, dest);
}