Revision: 29812
http://sourceforge.net/p/bibdesk/svn/29812
Author: hofman
Date: 2025-11-15 17:21:23 +0000 (Sat, 15 Nov 2025)
Log Message:
-----------
create alias in parameter
Modified Paths:
--------------
trunk/bibdesk/BDSKLinkedFile.m
Modified: trunk/bibdesk/BDSKLinkedFile.m
===================================================================
--- trunk/bibdesk/BDSKLinkedFile.m 2025-11-15 16:43:23 UTC (rev 29811)
+++ trunk/bibdesk/BDSKLinkedFile.m 2025-11-15 17:21:23 UTC (rev 29812)
@@ -681,8 +681,7 @@
}
}
-- (void)setAliasWithPath:(NSString *)aPath basePath:(NSString *)basePath {
- id anAlias = [BDSKAlias aliasWithPath:aPath basePath:basePath];
+- (void)setAlias:(BDSKAlias *)anAlias {
if (anAlias != nil) {
id saveAlias = alias;
alias = anAlias;
@@ -722,7 +721,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 setAliasWithPath:aPath basePath:basePath];
+ [self setAlias:[BDSKAlias aliasWithPath:aPath
basePath:basePath]];
if (basePath)
[self setRelativePath:aPath fromPath:basePath];
}
@@ -748,7 +747,7 @@
[self updateAliasWithBaseRef:&baseRef];
[self setRelativePath:aPath fromPath:basePath];
} else {
- [self setAliasWithPath:aPath basePath:basePath];
+ [self setAlias:[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