diff options
Diffstat (limited to 'Source/SPDocumentController.m')
-rw-r--r-- | Source/SPDocumentController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPDocumentController.m b/Source/SPDocumentController.m index f843155a..afc0e9a5 100644 --- a/Source/SPDocumentController.m +++ b/Source/SPDocumentController.m @@ -34,13 +34,11 @@ @implementation SPDocumentController - /** * This is an empty, dummy implementation; this allows Sequel Pro to behave * as if it were a document-based application. */ - /** * Add a dummy implementation of readFromData:ofType:error:, which appears to * be called by the OS in certain situations despite non-document use. @@ -51,6 +49,7 @@ if (outError) { *outError = [NSError errorWithDomain:NSOSStatusErrorDomain code:unimpErr userInfo:NULL]; } + return YES; } @@ -62,6 +61,7 @@ if (outError) { *outError = [NSError errorWithDomain:NSOSStatusErrorDomain code:unimpErr userInfo:NULL]; } + return nil; } |