mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
* src/insets/insetcite.C (getNatbibLabel): correct check for citation key cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16609 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
23326f7770
commit
ba57568a72
@ -96,7 +96,7 @@ docstring const getNatbibLabel(Buffer const & buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// build the keylist only if the bibfiles have been changed
|
// build the keylist only if the bibfiles have been changed
|
||||||
if (cached_keys.empty() || bibfileStatus.empty() || changed) {
|
if (cached_keys[&buffer].empty() || bibfileStatus.empty() || changed) {
|
||||||
typedef vector<std::pair<string, docstring> > InfoType;
|
typedef vector<std::pair<string, docstring> > InfoType;
|
||||||
InfoType bibkeys;
|
InfoType bibkeys;
|
||||||
buffer.fillWithBibKeys(bibkeys);
|
buffer.fillWithBibKeys(bibkeys);
|
||||||
|
Loading…
Reference in New Issue
Block a user