Revision: 26917 http://sourceforge.net/p/bibdesk/svn/26917 Author: hofman Date: 2021-09-17 15:04:53 +0000 (Fri, 17 Sep 2021) Log Message: ----------- Function instead of method
Modified Paths: -------------- trunk/bibdesk/BDSKFileMatcher.m Modified: trunk/bibdesk/BDSKFileMatcher.m =================================================================== --- trunk/bibdesk/BDSKFileMatcher.m 2021-09-17 15:00:45 UTC (rev 26916) +++ trunk/bibdesk/BDSKFileMatcher.m 2021-09-17 15:04:53 UTC (rev 26917) @@ -545,7 +545,7 @@ } } -- (SKIndexRef)newSearchIndex; +static SKIndexRef createSearchIndex() { CFMutableDataRef indexData = CFDataCreateMutable(CFAllocatorGetDefault(), 0); @@ -564,7 +564,7 @@ - (void)indexAndSearchFiles:(NSArray *)fileURLs withPublicationNodes:(NSArray *)pubNodes; { - SKIndexRef searchIndex = [self newSearchIndex]; + SKIndexRef searchIndex = createSearchIndex(); double val = 0; double max = [fileURLs count]; 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