From ba57568a72f8a1c8dab810cc0d26517a5b008278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Mon, 8 Jan 2007 17:38:39 +0000 Subject: [PATCH] * 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 --- src/insets/insetcite.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/insetcite.C b/src/insets/insetcite.C index 103e44160f..a8bf9a068e 100644 --- a/src/insets/insetcite.C +++ b/src/insets/insetcite.C @@ -96,7 +96,7 @@ docstring const getNatbibLabel(Buffer const & buffer, } // 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 > InfoType; InfoType bibkeys; buffer.fillWithBibKeys(bibkeys);