From 0a336a7123f411d5ffc68019bf8b5c3a360551b9 Mon Sep 17 00:00:00 2001 From: Stuart Connolly Date: Sat, 30 Nov 2013 21:27:36 +0000 Subject: Remove use of deprecated methods. --- Source/SPContentFilterManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/SPContentFilterManager.m') diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m index 019e0b6b..515dead0 100644 --- a/Source/SPContentFilterManager.m +++ b/Source/SPContentFilterManager.m @@ -836,7 +836,7 @@ #ifndef SP_CODA if (returnCode == NSOKButton) { - NSString *filename = [[panel filenames] objectAtIndex:0]; + NSString *filename = [[[panel URLs] objectAtIndex:0] path]; NSError *readError = nil; NSString *convError = nil; NSPropertyListFormat format; -- cgit v1.2.3