diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-02-23 14:21:53 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-03-05 15:23:08 +0100 |
commit | 97917a810b60781314efdb6fac39fd6b8fb9671a (patch) | |
tree | f7195ac559149b3c89ce2f9b836f082c94d47887 /vcl | |
parent | 2e1117c6be56423116a2f2cbd935235e547633e7 (diff) |
tdf#84881: Dump also the CMS data in a DBG_UTIL build
Change-Id: I651041a86083eb49aad9a96f6f379149c21854f3
(cherry picked from commit f4f08203ba4acebb4ae3143323ca508fdc0644bd)
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 8e564e13cf56..bcc96bad2f9e 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -6798,6 +6798,14 @@ bool PDFWriterImpl::finalizeSignature() free(pass); +#ifdef DBG_UTIL + { + FILE *out = fopen("PDFWRITER.cms.data", "wb"); + fwrite(cms_output.data, cms_output.len, 1, out); + fclose(out); + } +#endif + OStringBuffer cms_hexbuffer; for (unsigned int i = 0; i < cms_output.len ; i++) |