summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/wrapper
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2024-02-18 22:06:02 +0000
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-02-29 08:24:17 +0100
commit4a13e1890e8a0ed81e8fb17009185fa2b15ebff7 (patch)
tree501c258fff1664bc816a51767b8bbcb376a84847 /sdext/source/pdfimport/wrapper
parentec0b9062dc8dba82509183eb865da55827bde4d5 (diff)
tdf#113050 sdext.pdfimport: Plumb tiling pattern fill to pdfiprocessor
Change-Id: I68459834fd903d31c9b2e57d637265dd67da4f56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163565 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/pdfimport/wrapper')
-rw-r--r--sdext/source/pdfimport/wrapper/wrapper.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx
index 6094bfabcbbc..d99103b9867a 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -838,10 +838,13 @@ void LineParser::readTilingPatternFill()
readDouble(aMat.m12);
// The tile is an image with alpha
- [[maybe_unused]]const uno::Sequence<beans::PropertyValue> aTile ( readImageImpl() );
- (void)aTile; // Unused until later patch
- // TODO
- // use the parsed data
+ const uno::Sequence<beans::PropertyValue> aTile ( readImageImpl() );
+
+ m_parser.m_pSink->tilingPatternFill( nX0, nY0, nX1, nY1,
+ nXStep, nYStep,
+ nPaintType,
+ aMat,
+ aTile );
}
void Parser::parseLine( std::string_view aLine )