Revision: 29264
http://sourceforge.net/p/bibdesk/svn/29264
Author: hofman
Date: 2025-05-05 16:07:57 +0000 (Mon, 05 May 2025)
Log Message:
-----------
enumeerate objects and keys block based
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2025-05-05 15:57:49 UTC (rev 29263)
+++ trunk/bibdesk/BibDocument.m 2025-05-05 16:07:57 UTC (rev 29264)
@@ -1943,8 +1943,9 @@
documentInfo = [newDocumentInfo copy];
[[self macroResolver] setMacroDefinitions:newMacros];
// important that groups are loaded after publications, otherwise the
static groups won't find their publications
- for (NSNumber *groupType in newGroups)
- [[self groups] setGroupsOfType:[groupType unsignedIntegerValue]
fromSerializedData:[newGroups objectForKey:groupType]];
+ [newGroups enumerateKeysAndObjectsUsingBlock:^(NSNumber *groupType, NSData
*data, BOOL *stop){
+ [[self groups] setGroupsOfType:[groupType unsignedIntegerValue]
fromSerializedData:data];
+ }];
frontMatter = newFrontMatter;
if (wasLoaded) {
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