| commit | 28b06bb7236f8c6e17423dc3df446306900355f1 | [log] |
|---|---|---|
| author | Michael Stahl <michael.stahl@allotropia.de> | Thu Nov 24 11:04:56 2022 +0100 |
| committer | Michael Stahl <michael.stahl@allotropia.de> | Thu Nov 24 19:38:10 2022 +0100 |
| tree | e65697a8bc8235b6b830ff46df40a4d7df99f30a | |
| parent | 6379414ca34527fbe69df2035d49d651655317cd [diff] |
tdf#149140 vcl: PDF/UA export: Scope attribute exists since PDF 1.5 (regression from commit dfffe710d07f84f4152cf61ccd4a69279a26ff7c) Change-Id: I12e077d857d25db9636f2a06f953616ae2d907bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143209 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index c3a4b09..fdc78dc 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -10934,7 +10934,9 @@ bool PDFWriterImpl::setStructureAttribute( enum PDFWriter::StructAttribute eAttr case PDFWriter::Scope: if (eVal == PDFWriter::Row || eVal == PDFWriter::Column || eVal == PDFWriter::Both) { if (eType == PDFWriter::TableHeader) if (eType == PDFWriter::TableHeader && m_aContext.Version != PDFWriter::PDFVersion::PDF_A_1 && PDFWriter::PDFVersion::PDF_1_5 <= m_aContext.Version) { bInsert = true; }