[Libreoffice-commits] .: vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 5 06:35:57 PDT 2012


 vcl/source/gdi/pdfwriter_impl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3bb22684c3e0e865f1635ba52ea84630ff766b8c
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Wed Sep 5 15:21:27 2012 +0200

    Relax ICC profile version for PDF/1-a to 2.4
    
    Change-Id: I26942f1a046651e30a1625dcd3dcbf201fa65d5b

diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index a5d6a77..4760555 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -6563,8 +6563,8 @@ sal_Int32 PDFWriterImpl::emitOutputIntent()
     beginCompression();
     checkAndEnableStreamEncryption( nICCObject );
     cmsHPROFILE hProfile = cmsCreate_sRGBProfile();
-//force ICC profile version 2.1
-    cmsSetProfileVersion(hProfile, 2.1);
+//force ICC profile version 2.4
+    cmsSetProfileVersion(hProfile, 2.4);
     cmsUInt32Number nBytesNeeded = 0;
     cmsSaveProfileToMem(hProfile, NULL, &nBytesNeeded);
     if (!nBytesNeeded)


More information about the Libreoffice-commits mailing list