Skip to content

Commit 6431e3c

Browse files
_appPath was not being properly initialized.
1 parent cd97f05 commit 6431e3c

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

dotnet/src/dotnetcore/GxPdfReportsCS/PDFReportItext8.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class GxReportBuilderPdf8 : GxReportBuilderPdf
3535
public GxReportBuilderPdf8() { }
3636
public GxReportBuilderPdf8(string appPath, Stream outputStream)
3737
{
38-
38+
_appPath = appPath;
3939
_pdfReport = new com.genexus.reports.PDFReportItext8(appPath);
4040
if (outputStream != null)
4141
{

dotnet/src/dotnetcore/GxPdfReportsCS/PDFReportPDFPig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class GxReportBuilderPDFPig : GxReportBuilderPdf
2828
public GxReportBuilderPDFPig() { }
2929
public GxReportBuilderPDFPig(string appPath, Stream outputStream)
3030
{
31-
31+
_appPath = appPath;
3232
_pdfReport = new com.genexus.reports.PDFReportPDFPig(appPath);
3333
if (outputStream != null)
3434
{

dotnet/src/dotnetframework/GxPdfReportsCS/PdfReportInterface.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ namespace GeneXus.Printer
66
public class GxReportBuilderPdf : IReportHandler
77
{
88
static IGXLogger log = GXLoggerFactory.GetLogger<GxReportBuilderPdf>();
9-
string _appPath;
9+
protected string _appPath;
1010
protected IReportHandler _pdfReport;
1111

1212
public GxReportBuilderPdf(string appPath, Stream outputStream)
1313
{
1414
_appPath = appPath;
15-
{
1615
_pdfReport = new com.genexus.reports.PDFReportItextSharp(appPath);
17-
}
16+
1817
if (outputStream != null)
1918
{
2019

0 commit comments

Comments
 (0)