Revision: 17979
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=17979&view=rev
Author: hofman
Date: 2011-06-27 19:51:51 +0000 (Mon, 27 Jun 2011)
Log Message:
-----------
remove unused argument from method
Modified Paths:
--------------
trunk/bibdesk/BDSKTextImportController.m
trunk/bibdesk/BibDocument.h
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BDSKTextImportController.m
===================================================================
--- trunk/bibdesk/BDSKTextImportController.m 2011-06-27 19:41:55 UTC (rev
17978)
+++ trunk/bibdesk/BDSKTextImportController.m 2011-06-27 19:51:51 UTC (rev
17979)
@@ -784,7 +784,7 @@
if (returnCode == NSFileHandlingPanelOKButton) {
NSString *fileName = [sheet filename];
// first try to parse the file
- if([document addPublicationsFromFile:fileName verbose:NO error:NULL]){
+ if([document addPublicationsFromFile:fileName error:NULL]){
// succeeded to parse the file, we return immediately
[self didEndSheet:sheet returnCode:returnCode contextInfo:NULL];
}else{
Modified: trunk/bibdesk/BibDocument.h
===================================================================
--- trunk/bibdesk/BibDocument.h 2011-06-27 19:41:55 UTC (rev 17978)
+++ trunk/bibdesk/BibDocument.h 2011-06-27 19:51:51 UTC (rev 17979)
@@ -370,7 +370,7 @@
/* Paste related methods */
- (void)addPublications:(NSArray *)newPubs publicationsToAutoFile:(NSArray
*)pubsToAutoFile temporaryCiteKey:(NSString *)tmpCiteKey
selectLibrary:(BOOL)shouldSelect edit:(BOOL)shouldEdit;
- (NSArray *)addPublicationsFromPasteboard:(NSPasteboard *)pb
selectLibrary:(BOOL)select verbose:(BOOL)verbose error:(NSError **)error;
-- (NSArray *)addPublicationsFromFile:(NSString *)fileName
verbose:(BOOL)verbose error:(NSError **)outError;
+- (NSArray *)addPublicationsFromFile:(NSString *)fileName error:(NSError
**)outError;
- (NSArray *)publicationsFromArchivedData:(NSData *)data;
- (NSArray *)publicationsForString:(NSString *)string
type:(BDSKStringType)type verbose:(BOOL)verbose error:(NSError **)error;
- (NSArray *)publicationsForFiles:(NSArray *)filenames error:(NSError **)error;
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2011-06-27 19:41:55 UTC (rev 17978)
+++ trunk/bibdesk/BibDocument.m 2011-06-27 19:51:51 UTC (rev 17979)
@@ -2196,10 +2196,10 @@
return newPubs;
}
-- (NSArray *)addPublicationsFromFile:(NSString *)fileName
verbose:(BOOL)verbose error:(NSError **)outError{
+- (NSArray *)addPublicationsFromFile:(NSString *)fileName error:(NSError
**)outError{
NSError *error = nil;
NSString *temporaryCiteKey = nil;
- NSArray *newPubs = [self extractPublicationsFromFiles:[NSArray
arrayWithObject:fileName] unparseableFiles:NULL verbose:verbose error:&error];
+ NSArray *newPubs = [self extractPublicationsFromFiles:[NSArray
arrayWithObject:fileName] unparseableFiles:NULL verbose:NO error:&error];
BOOL shouldEdit = [[NSUserDefaults standardUserDefaults]
boolForKey:BDSKEditOnPasteKey];
if ((temporaryCiteKey = [[error userInfo]
valueForKey:@"temporaryCiteKey"]))
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit