Skip to content

Commit 691a7a6

Browse files
committed
.
1 parent 35b0ed5 commit 691a7a6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/DeterministicIoPackaging/DeterministicPackage.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static void DuplicateEntry(Entry sourceEntry, Archive targetArchive)
3030

3131
if (sourceEntry.IsRelationships())
3232
{
33-
var xml = Relationships.PatchRelationships(sourceStream, true);
33+
var xml = Relationships.PatchRelationships(sourceStream);
3434
SaveXml(xml, targetStream);
3535
return;
3636
}
@@ -64,7 +64,7 @@ static async Task DuplicateEntryAsync(Entry sourceEntry, Archive targetArchive,
6464
using var targetStream = await targetEntry.OpenAsync(cancel);
6565
if (sourceEntry.IsRelationships())
6666
{
67-
var xml = Relationships.PatchRelationships(sourceStream, true);
67+
var xml = Relationships.PatchRelationships(sourceStream);
6868
await SaveXml(xml, targetStream, cancel);
6969
return;
7070
}

src/DeterministicIoPackaging/Relationships.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ public static bool IsWorkbookRelationships(this Entry entry) =>
88
public static bool IsRelationships(this Entry entry) =>
99
entry.FullName is "_rels/.rels";
1010

11-
public static XDocument PatchRelationships(Stream sourceStream, bool patchIds)
11+
public static XDocument PatchRelationships(Stream sourceStream)
1212
{
1313
var xml = XDocument.Load(sourceStream);
14-
PatchRelationships(xml, patchIds);
14+
PatchRelationships(xml, true);
1515
return xml;
1616
}
1717

0 commit comments

Comments
 (0)