| commit | 5cc596a99643764f698bbc6c4bfb7ba561dee568 | [log] |
|---|---|---|
| author | Michael Stahl <michael.stahl@allotropia.de> | Thu Nov 24 11:04:56 2022 +0100 |
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | Fri Nov 25 10:07:37 2022 +0100 |
| tree | f7c19996aa7cadd141f362ea2629d20a838318b4 | |
| parent | 869e9e0dfe1cf7f263994468d5c3604b9c9c86c6 [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> (cherry picked from commit 28b06bb7236f8c6e17423dc3df446306900355f1) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143166 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 7a764cc..4114916 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -10604,7 +10604,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; }