From 90be719f346b4125fa3e87e68952e37a406dc2ca Mon Sep 17 00:00:00 2001 From: John Date: Wed, 26 Jun 2019 16:58:39 +0000 Subject: [PATCH] =?UTF-8?q?B2019-089=20-=20Removed=20the=20=E2=80=9CEnd=20?= =?UTF-8?q?of=20Search=20Results=E2=80=9D=20text=20from=20the=20Complete?= =?UTF-8?q?=20RO=20report.=20Code=20cleanup=20=E2=80=93=20removed=20un-use?= =?UTF-8?q?d=20code.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Print.Library/PDFReport.cs | 3 ++- PROMS/Volian.Print.Library/Rtf2iTextSharp.cs | 7 ------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/PROMS/Volian.Print.Library/PDFReport.cs b/PROMS/Volian.Print.Library/PDFReport.cs index ad2d784c..56228ab2 100644 --- a/PROMS/Volian.Print.Library/PDFReport.cs +++ b/PROMS/Volian.Print.Library/PDFReport.cs @@ -404,7 +404,8 @@ namespace Volian.Print.Library { if (document.IsOpen()) { - document.Add(new Phrase("End of Search Results",FontFactory.GetFont("Arial",4))); + //document.Add(new Phrase("End of Search Results",FontFactory.GetFont("Arial",4))); // B2019-089 commented out - used for debug + document.Add(new Phrase(" ", FontFactory.GetFont("Arial", 4))); // B2019-089 - assure output has at least a blank space to prevent error on close document.Close(); System.Diagnostics.Process.Start(_FileName); } diff --git a/PROMS/Volian.Print.Library/Rtf2iTextSharp.cs b/PROMS/Volian.Print.Library/Rtf2iTextSharp.cs index 73b6ac1c..6cd5324f 100644 --- a/PROMS/Volian.Print.Library/Rtf2iTextSharp.cs +++ b/PROMS/Volian.Print.Library/Rtf2iTextSharp.cs @@ -99,13 +99,6 @@ namespace Volian.Print.Library get { return _HasIndent; } set { _HasIndent = value; } } - private static bool _DoingComparison = false; - public static bool DoingComparison - { - get { return Rtf2iTextSharp._DoingComparison; } - set { Rtf2iTextSharp._DoingComparison = value; } - } - private IRtfDocument _RtfDoc; private Paragraph _MyParagraph = new Paragraph(); private iTextSharp.text.Font _MyFont;