mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
parent
a637efca6e
commit
df022f91b4
@ -104,6 +104,9 @@ docstring const statusMessage(BufferView const * bv, string const & snippet)
|
||||
|
||||
Buffer const & buffer = bv->buffer();
|
||||
graphics::PreviewLoader const * loader = buffer.loader();
|
||||
// please coverity (probably worth the check anyway)
|
||||
if (!loader)
|
||||
return docstring();
|
||||
graphics::PreviewLoader::Status const status = loader->status(snippet);
|
||||
|
||||
docstring message;
|
||||
|
Loading…
Reference in New Issue
Block a user