Skip to content

Commit

Permalink
Remove log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
mcs07 committed Apr 17, 2014
1 parent 4615e6c commit 32ab309
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions GeneratePreviewForURL.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview,
@autoreleasepool {
if (QLPreviewRequestIsCancelled(preview))
return noErr;

NSLog(@"%@", contentTypeUTI);

// We need the path of the bundle to get the HTML template and JavaScript
CFBundleRef bundle = QLPreviewRequestGetGeneratorBundle(preview);
NSError *error = 0;
NSString *outputString = PreviewURL(bundle, (__bridge NSURL *)url, error, false);
NSLog(@"%@", outputString);
if (error != nil || outputString == nil) {
NSLog(@"Error generating preview: %@", [error localizedFailureReason]);
return noErr;
Expand Down

0 comments on commit 32ab309

Please sign in to comment.