]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCacheItem.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / graphics / GraphicsCacheItem.cpp
index b9bc390b5262c2b9a8a6a711381977117ef58332..4c047079759a9919f645a573c4de3bc8e2800c68 100644 (file)
@@ -349,8 +349,7 @@ static string const findTargetFormat(string const & from)
 bool CacheItem::Impl::tryDisplayFormat(FileName & filename, string & from)
 {
        // First, check that the file exists!
-       // force a refresh.
-       filename_.lastModified();
+       filename_.refresh();
        if (!filename_.isReadableFile()) {
                if (status_ != ErrorNoFile) {
                        status_ = ErrorNoFile;