Revision: 28368
          http://sourceforge.net/p/bibdesk/svn/28368
Author:   hofman
Date:     2023-09-22 21:53:47 +0000 (Fri, 22 Sep 2023)
Log Message:
-----------
Don't set date of bibitem copy, it should be set in init when needed

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

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2023-09-22 15:28:12 UTC (rev 28367)
+++ trunk/bibdesk/BibItem.m     2023-09-22 21:53:47 UTC (rev 28368)
@@ -327,7 +327,6 @@
     NSArray *filesCopy = [[NSArray allocWithZone: zone] initWithArray:files 
copyItems:YES];
     BibItem *theCopy = [[[self class] allocWithZone: zone] 
initWithType:pubType citeKey:citeKey pubFields:pubFields files:filesCopy 
isNew:YES];
     [filesCopy release];
-    [theCopy setDate: pubDate];
     [theCopy setMacroResolver:[self macroResolver]];
     return theCopy;
 }
@@ -353,7 +352,6 @@
         theCopy = [[[self class] alloc] initWithType:pubType citeKey:citeKey 
pubFields:fieldsToCopy files:filesCopy isNew:YES];
         [filesCopy release];
         [fieldsToCopy release];
-        [theCopy setDate: pubDate];
     }
     [theCopy setMacroResolver:aMacroResolver];
     return theCopy;

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



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to