From a9a391c960ea6cab63a72050c593fa2f810fb0a2 Mon Sep 17 00:00:00 2001 From: Svetlana Kulikova Date: Fri, 3 Oct 2025 12:04:27 +0300 Subject: [PATCH] Fix create AP for Line --- PdfFile/PdfWriter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/PdfFile/PdfWriter.cpp b/PdfFile/PdfWriter.cpp index 7e43582889..d24af6e760 100644 --- a/PdfFile/PdfWriter.cpp +++ b/PdfFile/PdfWriter.cpp @@ -2111,8 +2111,6 @@ HRESULT CPdfWriter::AddAnnotField(NSFonts::IApplicationFonts* pAppFonts, CAnnotF BYTE* pRender = oInfo.GetRender(nLen); DrawAP(pAnnot, pRender, nLen); } - else - pLineAnnot->SetAP(); } else if (oInfo.IsTextMarkup()) {