Revision: 22452
          http://sourceforge.net/p/bibdesk/svn/22452
Author:   hofman
Date:     2018-07-22 09:50:38 +0000 (Sun, 22 Jul 2018)
Log Message:
-----------
don't bother adding extra attributes in formatter as we already have the 
paragraph style and we don't care about the original font

Modified Paths:
--------------
    trunk/bibdesk/BDSKFormatStringFormatter.m

Modified: trunk/bibdesk/BDSKFormatStringFormatter.m
===================================================================
--- trunk/bibdesk/BDSKFormatStringFormatter.m   2018-07-22 09:49:33 UTC (rev 
22451)
+++ trunk/bibdesk/BDSKFormatStringFormatter.m   2018-07-22 09:50:38 UTC (rev 
22452)
@@ -86,18 +86,6 @@
         formatError = [errorString retain];
      }
 
-    if ([attrs count]) {
-        NSMutableDictionary *mutableAttrs = [attrs mutableCopy];
-        [mutableAttrs removeObjectForKey:NSFontAttributeName];
-        [mutableAttrs removeObjectForKey:NSForegroundColorAttributeName];
-        if ([mutableAttrs count]) {
-            NSMutableAttributedString *mutableAttrString = [attrString 
mutableCopy];
-            [mutableAttrString addAttributes:mutableAttrs range:NSMakeRange(0, 
[attrString length])];
-            attrString = [mutableAttrString autorelease];
-        }
-        [mutableAttrs release];
-    }
-    
     return attrString;
 }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to