From f75853dea57bc97cc264352268f9d4a311bffb9f Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 15 Mar 2011 22:41:05 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPActivityTextFieldCell.m | 2 +- Source/SPBundleHTMLOutputController.h | 4 ++-- Source/SPBundleHTMLOutputController.m | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'Source') diff --git a/Source/SPActivityTextFieldCell.m b/Source/SPActivityTextFieldCell.m index 10194466..1ccb7207 100644 --- a/Source/SPActivityTextFieldCell.m +++ b/Source/SPActivityTextFieldCell.m @@ -259,7 +259,7 @@ static inline NSRect SPTextLinkRectFromCellRect(NSRect inRect) // Remove it from the list directly since the list will be updated in the background // to avoid to cancel a command which is already cancelled if(status == 0) - [[[controlView delegate] onMainThread] removeActivity:[[contextInfo objectForKey:@"pid"] intValue]]; + [[[(id)controlView delegate] onMainThread] removeActivity:[[contextInfo objectForKey:@"pid"] intValue]]; return YES; } diff --git a/Source/SPBundleHTMLOutputController.h b/Source/SPBundleHTMLOutputController.h index 3665fc8e..de67799c 100644 --- a/Source/SPBundleHTMLOutputController.h +++ b/Source/SPBundleHTMLOutputController.h @@ -33,7 +33,7 @@ NSString *initHTMLSourceString; NSString *windowUUID; NSString *docUUID; - BOOL suppressExceptionAlert; + BOOL suppressExceptionAlerting; WebPreferences *webPreferences; } @@ -42,7 +42,7 @@ @property(readwrite,retain) NSString *initHTMLSourceString; @property(readwrite,retain) NSString *windowUUID; @property(readwrite,retain) NSString *docUUID; -@property(assign) BOOL suppressExceptionAlert; +@property(assign) BOOL suppressExceptionAlerting; - (IBAction)printDocument:(id)sender; diff --git a/Source/SPBundleHTMLOutputController.m b/Source/SPBundleHTMLOutputController.m index 82f21468..1995cfcb 100644 --- a/Source/SPBundleHTMLOutputController.m +++ b/Source/SPBundleHTMLOutputController.m @@ -50,7 +50,7 @@ @synthesize initHTMLSourceString; @synthesize windowUUID; @synthesize docUUID; -@synthesize suppressExceptionAlert; +@synthesize suppressExceptionAlerting; /** * Initialisation @@ -70,7 +70,7 @@ #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 [webView setShouldUpdateWhileOffscreen:NO]; #endif - suppressExceptionAlert = NO; + suppressExceptionAlerting = NO; } @@ -523,7 +523,7 @@ NSString *mes = [NSString stringWithFormat:@"Exception:\nline = %ld\nfunction = %@\ncaller = %@\nexception = %@", lineno, [frame functionName], [frame caller], [frame userInfo], [frame exception]]; - if([self suppressExceptionAlert]) { + if([self suppressExceptionAlerting]) { NSLog(@"%@", mes); return; } @@ -616,7 +616,7 @@ */ - (void)suppressExceptionAlert { - [self setSuppressExceptionAlert:YES]; + [self setSuppressExceptionAlerting:YES]; } /** -- cgit v1.2.3