mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
gcc compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28755 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
26529a1732
commit
d757c34e79
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user