include/vcl/pdf/PDFAnnotationMarker.hxx | 2 +- sd/source/filter/pdf/sdpdffilter.cxx | 2 +- vcl/source/filter/ipdf/pdfread.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit df6ddd3c4b4307e50f7778429dfedb1a068c2890 Author: Noel Grandin <[email protected]> AuthorDate: Thu Aug 28 11:20:14 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Thu Aug 28 12:39:11 2025 +0200 BitmapEx->Bitmap in PDFAnnotationMarkerStamp now that Bitmap supports transparency Change-Id: I4ceed83ea2b7ffaf76652f694d74e72f65d3f3a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190319 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/include/vcl/pdf/PDFAnnotationMarker.hxx b/include/vcl/pdf/PDFAnnotationMarker.hxx index 0c559a4cedae..f6a8b108cae3 100644 --- a/include/vcl/pdf/PDFAnnotationMarker.hxx +++ b/include/vcl/pdf/PDFAnnotationMarker.hxx @@ -31,7 +31,7 @@ struct VCL_DLLPUBLIC PDFAnnotationMarker /** Stamp annotation marker - arbitrary bitmap as annotation */ struct VCL_DLLPUBLIC PDFAnnotationMarkerStamp : public PDFAnnotationMarker { - BitmapEx maBitmapEx; + Bitmap maBitmap; }; /** Free text annotation marker - showing text of the annotation in the document */ diff --git a/sd/source/filter/pdf/sdpdffilter.cxx b/sd/source/filter/pdf/sdpdffilter.cxx index 123b39d4f1d1..b02b882d5474 100644 --- a/sd/source/filter/pdf/sdpdffilter.cxx +++ b/sd/source/filter/pdf/sdpdffilter.cxx @@ -219,7 +219,7 @@ bool SdPdfFilter::Import() rPDFAnnotation.mpMarker.get()); aInfo.meType = sdr::annotation::AnnotationType::Stamp; - aInfo.maBitmap = Bitmap(pMarker->maBitmapEx); + aInfo.maBitmap = pMarker->maBitmap; } xAnnotation->setCreationInfo(aInfo); diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx index 40abf61e1dd4..6d9c0cb4fd34 100644 --- a/vcl/source/filter/ipdf/pdfread.cxx +++ b/vcl/source/filter/ipdf/pdfread.cxx @@ -327,7 +327,7 @@ findAnnotations(const std::unique_ptr<vcl::pdf::PDFiumPage>& pPage, basegfx::B2D { continue; } - pMarker->maBitmapEx = pBitmap->createBitmapFromBuffer(); + pMarker->maBitmap = pBitmap->createBitmapFromBuffer(); } } }
