]> git.lyx.org Git - features.git/commitdiff
gcc compile fix.
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 12 Mar 2009 19:44:40 +0000 (19:44 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Thu, 12 Mar 2009 19:44:40 +0000 (19:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28755 a592a061-630c-0410-9148-cb99ea01b6c8

src/graphics/GraphicsCacheItem.cpp

index bf255444a525c5a227fd4c0a478b011f83d30774..0bac4b559ea801e694dea2de52467a861cef82dc 100644 (file)
@@ -143,7 +143,9 @@ bool CacheItem::tryDisplayFormat() const
 {
        if (pimpl_->status_ != WaitingToLoad)
                pimpl_->reset();
-       bool const conversion_needed = pimpl_->tryDisplayFormat(FileName(), string());
+       FileName filename;
+       string from;
+       bool const conversion_needed = pimpl_->tryDisplayFormat(filename, from);
        bool const success = status() == Loaded && !conversion_needed;
        if (!success)
                pimpl_->reset();