summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r--macosx/HBJob.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBJob.m b/macosx/HBJob.m
index 7cd7c7fcf..4d52735c7 100644
--- a/macosx/HBJob.m
+++ b/macosx/HBJob.m
@@ -429,7 +429,7 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification";
decodeInt(_titleIdx); if (_titleIdx < 0) { goto fail; }
#ifdef __SANDBOX_ENABLED__
- _fileURLBookmark = [decoder decodeObjectOfClass:[NSData class] forKey:@"_fileURLBookmark"];
+ decodeObject(_fileURLBookmark, NSData)
if (_fileURLBookmark)
{
@@ -441,7 +441,7 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification";
decodeObjectOrFail(_fileURL, NSURL);
}
- _outputURLFolderBookmark = [decoder decodeObjectOfClass:[NSData class] forKey:@"_outputURLFolderBookmark"];
+ decodeObject(_outputURLFolderBookmark, NSData)
if (_outputURLFolderBookmark)
{