Revision: 29328
          http://sourceforge.net/p/bibdesk/svn/29328
Author:   hofman
Date:     2025-07-22 15:26:09 +0000 (Tue, 22 Jul 2025)
Log Message:
-----------
don't bother registering items for crossref in external groups

Modified Paths:
--------------
    trunk/bibdesk/BDSKPublicationsArray.m

Modified: trunk/bibdesk/BDSKPublicationsArray.m
===================================================================
--- trunk/bibdesk/BDSKPublicationsArray.m       2025-07-22 15:24:57 UTC (rev 
29327)
+++ trunk/bibdesk/BDSKPublicationsArray.m       2025-07-22 15:26:09 UTC (rev 
29328)
@@ -95,7 +95,7 @@
         NSPointerFunctions *keyPointerFunctions = [NSPointerFunctions 
caseInsensitiveStringPointerFunctions];
         NSPointerFunctions *valuePointerFunctions = [NSPointerFunctions 
strongObjectPointerFunctions];
         itemsForCiteKeys = [[NSMapTable alloc] 
initWithKeyPointerFunctions:keyPointerFunctions 
valuePointerFunctions:valuePointerFunctions capacity:0];
-        itemsForCrossrefs = [[NSMapTable alloc] 
initWithKeyPointerFunctions:keyPointerFunctions 
valuePointerFunctions:valuePointerFunctions capacity:0];
+        itemsForCrossrefs = anArray ? nil : [[NSMapTable alloc] 
initWithKeyPointerFunctions:keyPointerFunctions 
valuePointerFunctions:valuePointerFunctions capacity:0];
         searchIndexes = [[BDSKItemSearchIndexes alloc] init];
         if ([anArray count]) {
             [self addItems:publications];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to