зеркало из https://github.com/mozilla/gecko-dev.git
Fix some build warnings that showed up after my string whackage.
This commit is contained in:
Родитель
fe44dda52c
Коммит
cdc1bcdfa6
|
@ -21,7 +21,10 @@
|
|||
* Joe Hewitt <hewitt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHGoMenu.h"
|
||||
#import "MainController.h"
|
||||
#import "BrowserWindowController.h"
|
||||
#import "CHBrowserWrapper.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
@ -55,7 +58,7 @@ static const NSString *kEllipsis = @"...";
|
|||
- (nsIWebNavigation*) currentWebNavigation
|
||||
{
|
||||
// get controller for current window
|
||||
BrowserWindowController *controller = [[NSApp delegate] getMainWindowBrowserController];
|
||||
BrowserWindowController *controller = [(MainController *)[NSApp delegate] getMainWindowBrowserController];
|
||||
if (!controller) return nsnull;
|
||||
|
||||
// get web navigation for current browser
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHHistoryDataSource.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHRDFOutlineViewDataSource.h"
|
||||
|
||||
#include "nsIRDFDataSource.h"
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "nsCocoaBrowserService.h"
|
||||
#import "DownloadFactories.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
|
|
@ -21,7 +21,10 @@
|
|||
* Joe Hewitt <hewitt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHGoMenu.h"
|
||||
#import "MainController.h"
|
||||
#import "BrowserWindowController.h"
|
||||
#import "CHBrowserWrapper.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
@ -55,7 +58,7 @@ static const NSString *kEllipsis = @"...";
|
|||
- (nsIWebNavigation*) currentWebNavigation
|
||||
{
|
||||
// get controller for current window
|
||||
BrowserWindowController *controller = [[NSApp delegate] getMainWindowBrowserController];
|
||||
BrowserWindowController *controller = [(MainController *)[NSApp delegate] getMainWindowBrowserController];
|
||||
if (!controller) return nsnull;
|
||||
|
||||
// get web navigation for current browser
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "nsCocoaBrowserService.h"
|
||||
#import "DownloadFactories.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHRDFOutlineViewDataSource.h"
|
||||
|
||||
#include "nsIRDFDataSource.h"
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHHistoryDataSource.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
||||
|
|
|
@ -21,7 +21,10 @@
|
|||
* Joe Hewitt <hewitt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHGoMenu.h"
|
||||
#import "MainController.h"
|
||||
#import "BrowserWindowController.h"
|
||||
#import "CHBrowserWrapper.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
@ -55,7 +58,7 @@ static const NSString *kEllipsis = @"...";
|
|||
- (nsIWebNavigation*) currentWebNavigation
|
||||
{
|
||||
// get controller for current window
|
||||
BrowserWindowController *controller = [[NSApp delegate] getMainWindowBrowserController];
|
||||
BrowserWindowController *controller = [(MainController *)[NSApp delegate] getMainWindowBrowserController];
|
||||
if (!controller) return nsnull;
|
||||
|
||||
// get web navigation for current browser
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHHistoryDataSource.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHRDFOutlineViewDataSource.h"
|
||||
|
||||
#include "nsIRDFDataSource.h"
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "nsCocoaBrowserService.h"
|
||||
#import "DownloadFactories.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
|
|
@ -21,7 +21,10 @@
|
|||
* Joe Hewitt <hewitt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHGoMenu.h"
|
||||
#import "MainController.h"
|
||||
#import "BrowserWindowController.h"
|
||||
#import "CHBrowserWrapper.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
@ -55,7 +58,7 @@ static const NSString *kEllipsis = @"...";
|
|||
- (nsIWebNavigation*) currentWebNavigation
|
||||
{
|
||||
// get controller for current window
|
||||
BrowserWindowController *controller = [[NSApp delegate] getMainWindowBrowserController];
|
||||
BrowserWindowController *controller = [(MainController *)[NSApp delegate] getMainWindowBrowserController];
|
||||
if (!controller) return nsnull;
|
||||
|
||||
// get web navigation for current browser
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "nsCocoaBrowserService.h"
|
||||
#import "DownloadFactories.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHRDFOutlineViewDataSource.h"
|
||||
|
||||
#include "nsIRDFDataSource.h"
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import "NSString+Utils.h"
|
||||
|
||||
#import "CHHistoryDataSource.h"
|
||||
#import "CHBrowserView.h"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче