Revision: 22584
          http://sourceforge.net/p/bibdesk/svn/22584
Author:   hofman
Date:     2018-09-12 09:46:44 +0000 (Wed, 12 Sep 2018)
Log Message:
-----------
no need for variable

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

Modified: trunk/bibdesk/BibDocument_DataSource.m
===================================================================
--- trunk/bibdesk/BibDocument_DataSource.m      2018-09-12 09:45:18 UTC (rev 
22583)
+++ trunk/bibdesk/BibDocument_DataSource.m      2018-09-12 09:46:44 UTC (rev 
22584)
@@ -989,8 +989,7 @@
     if ([group groupType] == BDSKCategoryGroupType) {
         NSArray *pubs = [groupedPublications copy];
         // change the name of the group first, so we can preserve the 
selection; we need to old group info to move though
-        NSString *key = [(BDSKCategoryGroup *)group key];
-        id name = [key isPersonField] ? (id)[BibAuthor authorWithName:newName] 
: (id)newName;
+        id name = [[(BDSKCategoryGroup *)group key] isPersonField] ? 
(id)[BibAuthor authorWithName:newName] : (id)newName;
         BDSKCategoryGroup *oldGroup = [group copy];
         [(BDSKCategoryGroup *)group setName:name];
         [self movePublications:pubs fromGroup:oldGroup toGroupNamed:newName];

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