diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-01-16 14:32:42 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-01-16 16:35:17 +0100 |
commit | 1cc0fc1f3cdae597912d7204256427e060fcde61 (patch) | |
tree | b5659d1ca4968a958089e30cf64599c7d8274798 /vcl/source/gdi | |
parent | 208a2e51c32a8918388216bf2f47b513948ebd7d (diff) |
tdf#139643: fix missing PDF/UA flag
Regression from:
https://cgit.freedesktop.org/libreoffice/core/commit/vcl/source/gdi/pdfwriter_impl.cxx?id=a795886762a6a4aabd601183598c4e6c819bcb1f
author Arnaud Versini <arnaud.versini@libreoffice.org> 2019-09-20 19:01:34 +0200
committer Arnaud Versini <arnaud.versini@libreoffice.org> 2020-02-08 15:03:07 +0100
commit a795886762a6a4aabd601183598c4e6c819bcb1f (patch)
tree 93a58d738bf27a0c5f75f80dc7e651763916ee5f /vcl/source/gdi/pdfwriter_impl.cxx
parent a2f62a861ba7036e689070c47f72214b1bdd49d4 (diff)
Add minimum support for PDF/A3
here:
sal_Int32 PDFWriterImpl::emitDocumentMetadata()
{
- if (!m_bIsPDF_A1 && !m_bIsPDF_A2 && !m_bIsPDF_UA)
+ if( !m_bIsPDF_A1 && !m_bIsPDF_A2 && !m_bIsPDF_A3 )
Change-Id: Id4b3b9a74ccf5a5abd9e7149cb09b3475dd4ffee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109437
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index aee37877c7f6..7339c4cbeb19 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -5236,7 +5236,7 @@ static void lcl_assignMeta(const OUString& aValue, OString& aMeta) // emits the document metadata sal_Int32 PDFWriterImpl::emitDocumentMetadata() { - if( !m_bIsPDF_A1 && !m_bIsPDF_A2 && !m_bIsPDF_A3 ) + if( !m_bIsPDF_A1 && !m_bIsPDF_A2 && !m_bIsPDF_A3 && !m_bIsPDF_UA) return 0; //get the object number for all the destinations |