Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 7c9994a

Browse files
Remove some unused Code
1 parent 5db3f38 commit 7c9994a

4 files changed

Lines changed: 0 additions & 16 deletions

File tree

src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/Exporter/DebugExporter.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ public DebugExporter(Collection<ExportPage> pages):base(pages)
3737

3838

3939
public override void Run () {
40-
Console.WriteLine();
41-
Console.WriteLine("Start DebugExporter with {0} Pages ",Pages.Count);
4240
visitor.Run(Pages);
43-
Console.WriteLine("Finish DebugVisitor");
44-
Console.WriteLine();
4541
}
4642
}
4743
}

src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/Expressions/Irony/Imports/ImportAggregates.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ static class ImportAggregateHelper {
4343
public static bool FieldExist (object current,string fieldName) {
4444
var property1 = current.ParsePropertyPath(fieldName);
4545
if (property1 == null) {
46-
Console.WriteLine(String.Format("Aggregate <Sum> Field '{0}' not found",fieldName));
4746
return false;
4847
}
4948
return true;

src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/Pdf/PdfExporter.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,12 @@ public override void Run()
4343
{
4444
pdfDocument = new PdfDocument();
4545
visitor = new PdfVisitor(pdfDocument);
46-
4746
SetDocumentTitle(Pages[0].PageInfo.ReportName);
48-
49-
Console.WriteLine();
50-
Console.WriteLine("Start PdfExporter with {0} Pages ",Pages.Count);
51-
5247
foreach (var page in Pages) {
5348
var acceptor = page as IAcceptor;
5449
if (acceptor != null) {
5550
visitor.Visit(page);
5651
}
57-
58-
Console.WriteLine("-----------PageBreak---------");
5952
}
6053

6154
const string filename = "HelloWorld.pdf";
@@ -65,9 +58,6 @@ public override void Run()
6558
// ...and start a viewer.
6659

6760
Process.Start(filename);
68-
Console.WriteLine("Finish WpfVisitor");
69-
Console.WriteLine();
70-
7161
}
7262

7363
void SetDocumentTitle(string reportName)

src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Src/Wpf/Visitor/WpfVisitor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public override void Visit(ExportContainer exportContainer){
6161

6262
void PerformList(Canvas myCanvas, System.Collections.Generic.List<IExportColumn> exportedItems)
6363
{
64-
Console.WriteLine(myCanvas.Name);
6564
foreach (var element in exportedItems) {
6665
var container = element as ExportContainer;
6766
if (container != null) {

0 commit comments

Comments
 (0)