From 6996c65015703b6aaa6d44f76c492371f47b138d Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Thu, 21 Sep 2017 02:05:06 +1000 Subject: tdf#31814 drawinglayer: dump EmfPlusRecordTypeComment records When we get an EMF+ comment record (which is NOT an EMF comment record, EMF has comment records which is how you store EMF+ records, EMF+ records also have comment records for "private data") then if we are a debug build then dump the private data to stdout. To make this work, set: SAL_LOG=+INFO.cppcanvas.emf+WARN.cppcanvas.emf Change-Id: I293875f45b692971379a5945ff7feb273bc54c73 Reviewed-on: https://gerrit.libreoffice.org/42558 Tested-by: Jenkins Reviewed-by: Chris Sherlock --- drawinglayer/source/tools/emfphelperdata.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drawinglayer/source/tools/emfphelperdata.hxx') diff --git a/drawinglayer/source/tools/emfphelperdata.hxx b/drawinglayer/source/tools/emfphelperdata.hxx index c36626139b4d..99ef9964b945 100644 --- a/drawinglayer/source/tools/emfphelperdata.hxx +++ b/drawinglayer/source/tools/emfphelperdata.hxx @@ -37,7 +37,7 @@ namespace emfplushelper // EMF+ commands #define EmfPlusRecordTypeHeader 0x4001 #define EmfPlusRecordTypeEndOfFile 0x4002 - //TODO EmfPlusRecordTypeComment 0x4003 + #define EmfPlusRecordTypeComment 0x4003 #define EmfPlusRecordTypeGetDC 0x4004 //TODO EmfPlusRecordTypeMultiFormatStart 0x4005 //TODO EmfPlusRecordTypeMultiFormatSection 0x4006 -- cgit