Browse Source

Fixed Position in tests

pull/1556/head
DESKTOP-C0TD3UP\Developer 3 months ago
parent
commit
9a577ea4e8
  1. 2
      main/HPSF/Section.cs
  2. 2
      openxml4Net/Util/ZipInputStreamZipEntrySource.cs

2
main/HPSF/Section.cs

@ -76,7 +76,7 @@ namespace NPOI.HPSF
/// <summary>
/// This section's properties.
/// </summary>
private IDictionary<long, Property> properties = new SortedDictionary<long, Property>();
private SortedDictionary<long, Property> properties = new SortedDictionary<long, Property>();
/// <summary>
/// This member is <c>true</c> if the last call to {@link

2
openxml4Net/Util/ZipInputStreamZipEntrySource.cs

@ -30,6 +30,8 @@ namespace NPOI.OpenXml4Net.Util
zipEntries = new List<FakeZipEntry>();
bool going = true;
if(inp.Position != 0)
inp.Position = 0;
while (going)
{
ZipEntry zipEntry = inp.GetNextEntry();

Loading…
Cancel
Save