sdext/source/pdfimport/inc/pdfiprocessor.hxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 9f21f816a16914e06ff141a800a63f0966e387b2 Author: Dr. David Alan Gilbert <d...@treblig.org> AuthorDate: Mon Feb 12 01:29:38 2024 +0000 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Feb 29 08:26:58 2024 +0100 tdf#113050 sdext.pdfimport: Expose the ImageContainer const I need the finalisers to be able to read an image, they have a ref to the processor but not the emitter; so allow the container to be read via the processor reference. Change-Id: Ifd3b2af1d456561ad42ae3e7c664f03b2e0c971c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163571 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sdext/source/pdfimport/inc/pdfiprocessor.hxx b/sdext/source/pdfimport/inc/pdfiprocessor.hxx index 40cdbfdd48c9..89a09d1780bf 100644 --- a/sdext/source/pdfimport/inc/pdfiprocessor.hxx +++ b/sdext/source/pdfimport/inc/pdfiprocessor.hxx @@ -71,6 +71,7 @@ namespace pdfi const GraphicsContext& getGraphicsContext( sal_Int32 nGCId ) const; GraphicsContext& getCurrentContext() { return m_aGCStack.back(); } const GraphicsContext& getCurrentContext() const { return m_aGCStack.back(); } + const ImageContainer& getImages() const { return m_aImages; }; const css::uno::Reference< css::task::XStatusIndicator >& getStatusIndicator() const { return m_xStatusIndicator; }