summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-09-05 16:21:07 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-09-05 18:13:55 +0200
commitb6ee7da3bff1eaca3425bfdf074a979a48f3305e (patch)
tree3bf705e53ad819b500e50a4f6613ca0a9620cd6d /vcl
parentbedbb471c3f49e0860dd63b17c1faeee837096ae (diff)
Revert "Relax ICC profile version for PDF/1-a to 2.4"
The lcms2 author advises 2.1 and that is the version we advertize in the name of the embedded icc file. This reverts commit 3bb22684c3e0e865f1635ba52ea84630ff766b8c.
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 47605557868f..a5d6a77828df 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.4
- cmsSetProfileVersion(hProfile, 2.4);
+//force ICC profile version 2.1
+ cmsSetProfileVersion(hProfile, 2.1);
cmsUInt32Number nBytesNeeded = 0;
cmsSaveProfileToMem(hProfile, NULL, &nBytesNeeded);
if (!nBytesNeeded)