mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Pass a pair of docstring arguments by address
Spotted by Coverity scan.
This commit is contained in:
parent
851e59cd26
commit
e6930ffec8
@ -835,7 +835,7 @@ void GuiCitation::init()
|
||||
|
||||
void GuiCitation::findKey(BiblioInfo const & bi,
|
||||
QString const & str, bool only_keys,
|
||||
docstring field, docstring entry_type,
|
||||
docstring const & field, docstring const & entry_type,
|
||||
bool case_sensitive, bool reg_exp, bool reset)
|
||||
{
|
||||
// FIXME THREAD
|
||||
|
@ -129,8 +129,8 @@ private:
|
||||
BiblioInfo const & bi, //< optimize by passing this
|
||||
QString const & str, //< string expression
|
||||
bool only_keys, //< set to true if only keys shall be searched.
|
||||
docstring field, //<field to search, empty for all fields
|
||||
docstring entryType, //<entry type to display, empty for all
|
||||
docstring const & field, //<field to search, empty for all fields
|
||||
docstring const & entryType, //<entry type to display, empty for all
|
||||
bool case_sensitive, //< set to true for case sensitive search.
|
||||
bool reg_exp, //< set to true if \c str is a regular expression.
|
||||
bool reset = false //< whether to reset and search all keys
|
||||
|
Loading…
Reference in New Issue
Block a user