Revision: 4873
http://skim-app.svn.sourceforge.net/skim-app/?rev=4873&view=rev
Author: hofman
Date: 2008-10-26 16:20:49 +0000 (Sun, 26 Oct 2008)
Log Message:
-----------
check if rich text container is a to-one relationship
Modified Paths:
--------------
trunk/PDFSelection_SKExtensions.m
Modified: trunk/PDFSelection_SKExtensions.m
===================================================================
--- trunk/PDFSelection_SKExtensions.m 2008-10-26 15:19:39 UTC (rev 4872)
+++ trunk/PDFSelection_SKExtensions.m 2008-10-26 16:20:49 UTC (rev 4873)
@@ -306,6 +306,8 @@
NSScriptClassDescription *classDesc = [specifier keyClassDescription];
if ([[classDesc className] isEqualToString:@"rich text"]) {
+ if ([[[specifier containerClassDescription]
toManyRelationshipKeys] containsObject:key])
+ return nil;
specifier = [specifier containerSpecifier];
} else {
key = [classDesc defaultSubcontainerAttributeKey];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit