vcl/source/gdi/pdfwriter_impl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1965de60afe96235f99683714fdb6403972bcf45
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sat Jan 16 14:32:42 2021 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Mon Jan 18 11:37:35 2021 +0100

    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.vers...@libreoffice.org> 2019-09-20 19:01:34 
+0200
    committer       Arnaud Versini <arnaud.vers...@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/+/109399
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>
    Tested-by: Jenkins
    (cherry picked from commit f1d7be7863e7d2d5aa3c3008bb9ec04780d5eb95)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109515
    Tested-by: Michael Stahl <michael.st...@allotropia.de>
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/vcl/source/gdi/pdfwriter_impl.cxx 
b/vcl/source/gdi/pdfwriter_impl.cxx
index 11de3436e531..951cda0f29da 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -5237,7 +5237,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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to