From 57c6920fb04dacfd9ceaf87adff46d124c9e1925 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Wed, 20 Nov 2019 06:57:13 +1100 Subject: emfio: add SAL_WARNs for unimplemented EMR_COMMENTs Change-Id: I449a0c2db77888a87a0ae983617848a9f0886ef1 Reviewed-on: https://gerrit.libreoffice.org/83233 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek --- emfio/source/reader/emfreader.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'emfio') diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx index 6a974085d887..b5fdf0238031 100644 --- a/emfio/source/reader/emfreader.cxx +++ b/emfio/source/reader/emfreader.cxx @@ -696,16 +696,18 @@ namespace emfio } else if( nCommentId == EMR_COMMENT_PUBLIC && nRecSize >= 12 ) { + SAL_WARN("emfio", "\t\tEMR_COMMENT_PUBLIC not implemented, id: 0x" << std::hex << nCommentId << std::dec); // TODO: ReadGDIComment() } else if( nCommentId == EMR_COMMENT_EMFSPOOL && nRecSize >= 12 ) { + SAL_WARN("emfio", "\t\tEMFSPOOL not implemented, id: 0x" << std::hex << nCommentId << std::dec); // TODO Implement reading EMFSPOOL comment } else { - SAL_INFO ("emfio", "\t\tunknown id: 0x" << std::hex << nCommentId << std::dec); + SAL_WARN("emfio", "\t\tunknown id: 0x" << std::hex << nCommentId << std::dec); } } } -- cgit