Revision: 29814
          http://sourceforge.net/p/bibdesk/svn/29814
Author:   hofman
Date:     2025-11-15 17:27:52 +0000 (Sat, 15 Nov 2025)
Log Message:
-----------
rename method

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

Modified: trunk/bibdesk/BDSKLinkedFile.m
===================================================================
--- trunk/bibdesk/BDSKLinkedFile.m      2025-11-15 17:26:22 UTC (rev 29813)
+++ trunk/bibdesk/BDSKLinkedFile.m      2025-11-15 17:27:52 UTC (rev 29814)
@@ -680,7 +680,7 @@
     }
 }
 
-- (void)setAlias:(BDSKAlias *)anAlias {
+- (void)safelySetAlias:(BDSKAlias *)anAlias {
     if (anAlias != nil) {
         id saveAlias = alias;
         alias = anAlias;
@@ -720,7 +720,7 @@
             [self updateFileRef];
             if (fileRef == nil && aPath) {
                 // this can happen after an auto file to a volume, as the file 
is actually not moved but copied
-                [self setAlias:[BDSKAlias aliasWithPath:aPath 
basePath:basePath]];
+                [self safelySetAlias:[BDSKAlias aliasWithPath:aPath 
basePath:basePath]];
                 if (basePath)
                     [self setRelativePath:aPath fromPath:basePath];
             }
@@ -746,7 +746,7 @@
                     [self updateAliasWithBaseRef:&baseRef];
                     [self setRelativePath:aPath fromPath:basePath];
                 } else {
-                    [self setAlias:[BDSKAlias aliasWithPath:aPath 
basePath:basePath]];
+                    [self safelySetAlias:[BDSKAlias aliasWithPath:aPath 
basePath:basePath]];
                 }
             }
         }

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



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to