mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
fix potential null pointer (reported by coverity)
This commit is contained in:
parent
70ab623c6e
commit
35b832f344
@ -278,6 +278,8 @@ bool GuiLog::initialiseParams(string const & sdata)
|
||||
continue;
|
||||
}
|
||||
Index const * index = indiceslist.findShortcut(ci);
|
||||
if (!index)
|
||||
continue;
|
||||
string const name = to_utf8(index->index());
|
||||
logTypeCO->addItem(qt_(name), toqstr("index:" + stmp.absFileName()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user