Skip to content

Commit 59ed7d7

Browse files
authored
Code change for issue #169 (#170)
Revert to previous behavior for part numbering.
1 parent 562d4c2 commit 59ed7d7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

DocumentFormat.OpenXml/src/Framework/OpenXmlPackage.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,10 +1507,7 @@ private string GetNextSequenceNumber(string contentType)
15071507
{
15081508
this._sequenceNumbers[contentType] += 1;
15091509
// use the default read-only NumberFormatInfo that is culture-independent (invariant).
1510-
// return this._sequenceNumbers[contentType].ToString(NumberFormatInfo.InvariantInfo);
1511-
1512-
// Let's use the number string in hex
1513-
return Convert.ToString(this._sequenceNumbers[contentType], 16);
1510+
return this._sequenceNumbers[contentType].ToString(NumberFormatInfo.InvariantInfo);
15141511
}
15151512
else
15161513
{

0 commit comments

Comments
 (0)