diff options
Diffstat (limited to 'Source/SPTextView.m')
-rw-r--r-- | Source/SPTextView.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m index 3c6d7b53..ce5f8454 100644 --- a/Source/SPTextView.m +++ b/Source/SPTextView.m @@ -1122,8 +1122,7 @@ static inline NSPoint SPPointOnLine(NSPoint a, NSPoint b, CGFloat t) { return NS NSPasteboard *pb = [NSPasteboard generalPasteboard]; NSTextStorage *textStorage = [self textStorage]; - NSData *rtf = [textStorage RTFFromRange:[self selectedRange] - documentAttributes:nil]; + NSData *rtf = [textStorage RTFFromRange:[self selectedRange] documentAttributes:@{}]; if (rtf) { |