diff --git a/AppKit/CPDocumentController.j b/AppKit/CPDocumentController.j index b851b046a..139f34d6b 100644 --- a/AppKit/CPDocumentController.j +++ b/AppKit/CPDocumentController.j @@ -106,7 +106,7 @@ var CPSharedDocumentController = nil; @param aType the type of the new document @param shouldDisplay whether to display the document on screen */ -- (void)openUntitledDocumentOfType:(CPString)aType display:(BOOL)shouldDisplay +- (CPDocument)openUntitledDocumentOfType:(CPString)aType display:(BOOL)shouldDisplay { var theDocument = [self makeUntitledDocumentOfType:aType error:nil];