diff --git a/Modules.Interfaces/ZUGFeRDInterface/PDFAttachments.vb b/Modules.Interfaces/ZUGFeRDInterface/PDFAttachments.vb index d2382f37..1ee220ae 100644 --- a/Modules.Interfaces/ZUGFeRDInterface/PDFAttachments.vb +++ b/Modules.Interfaces/ZUGFeRDInterface/PDFAttachments.vb @@ -77,7 +77,7 @@ Public Class PDFAttachments End Try End Function - Private Function DoExtract(GDPicturePDF As GdPicturePDF, Extensions As List(Of String)) As List(Of AttachmentResult) + Private Function DoExtract(GDPicturePDF As GdPicturePDF, pExtensions As List(Of String)) As List(Of AttachmentResult) Dim oResults As New List(Of AttachmentResult) Dim oEmbeddedFileCount As Integer = GDPicturePDF.GetEmbeddedFileCount() @@ -92,7 +92,7 @@ Public Class PDFAttachments Logger.Debug("Extracting embedded file [{0}]", oFileName) Dim oExtension = New FileInfo(oFileName).Extension.ToUpper.Substring(1) - If Extensions.Contains(oExtension) Then + If pExtensions.Contains(oExtension) Then Dim oFileSize As Integer = GDPicturePDF.GetEmbeddedFileSize(oIndex) If GDPicturePDF.GetStat() = GdPictureStatus.OK Then