From 7e68fb570adb8a457a4267f660af0ac8ed9af6bf Mon Sep 17 00:00:00 2001 From: VahidN Date: Fri, 24 Nov 2017 23:46:18 +0330 Subject: [PATCH] V1.3.3, Fixed compiler warnings --- .../System/util/zlib/ZDeflaterOutputStream.cs | 4 ++++ src/iTextSharp.LGPLv2.Core/iTextSharp.LGPLv2.Core.csproj | 2 +- src/iTextSharp.LGPLv2.Core/iTextSharp/text/pdf/AcroFields.cs | 4 ++++ .../iTextSharp/text/pdf/OutputStreamEncryption.cs | 4 ++++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/iTextSharp.LGPLv2.Core/System/util/zlib/ZDeflaterOutputStream.cs b/src/iTextSharp.LGPLv2.Core/System/util/zlib/ZDeflaterOutputStream.cs index 3922f29..7d66fdb 100644 --- a/src/iTextSharp.LGPLv2.Core/System/util/zlib/ZDeflaterOutputStream.cs +++ b/src/iTextSharp.LGPLv2.Core/System/util/zlib/ZDeflaterOutputStream.cs @@ -78,7 +78,11 @@ public override long Position } } +#if NETSTANDARD1_3 public void Close() +#else + public override void Close() +#endif { try { diff --git a/src/iTextSharp.LGPLv2.Core/iTextSharp.LGPLv2.Core.csproj b/src/iTextSharp.LGPLv2.Core/iTextSharp.LGPLv2.Core.csproj index 65681e6..2b596f2 100644 --- a/src/iTextSharp.LGPLv2.Core/iTextSharp.LGPLv2.Core.csproj +++ b/src/iTextSharp.LGPLv2.Core/iTextSharp.LGPLv2.Core.csproj @@ -1,7 +1,7 @@  iTextSharp.LGPLv2.Core is an unofficial port of the last LGPL version of the iTextSharp (V4.1.6) to .NET Core. - 1.3.2 + 1.3.3 latest Vahid Nasiri netstandard1.3;netstandard2.0 diff --git a/src/iTextSharp.LGPLv2.Core/iTextSharp/text/pdf/AcroFields.cs b/src/iTextSharp.LGPLv2.Core/iTextSharp/text/pdf/AcroFields.cs index b5a41ea..6d8d169 100644 --- a/src/iTextSharp.LGPLv2.Core/iTextSharp/text/pdf/AcroFields.cs +++ b/src/iTextSharp.LGPLv2.Core/iTextSharp/text/pdf/AcroFields.cs @@ -2634,7 +2634,11 @@ public override long Position } } +#if NETSTANDARD1_3 public void Close() +#else + public override void Close() +#endif { if (!_closed) { diff --git a/src/iTextSharp.LGPLv2.Core/iTextSharp/text/pdf/OutputStreamEncryption.cs b/src/iTextSharp.LGPLv2.Core/iTextSharp/text/pdf/OutputStreamEncryption.cs index bf6e65c..b5e4ce9 100644 --- a/src/iTextSharp.LGPLv2.Core/iTextSharp/text/pdf/OutputStreamEncryption.cs +++ b/src/iTextSharp.LGPLv2.Core/iTextSharp/text/pdf/OutputStreamEncryption.cs @@ -81,7 +81,11 @@ public override long Position } } +#if NETSTANDARD1_3 public void Close() +#else + public override void Close() +#endif { Finish(); }