diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2019-11-20 06:57:13 +1100 |
---|---|---|
committer | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2019-11-20 12:40:37 +0100 |
commit | 57c6920fb04dacfd9ceaf87adff46d124c9e1925 (patch) | |
tree | 9ea9f9c25702cb6eec518f01d6ada50456e31ac8 /emfio | |
parent | d7fcea6fd86d4127306333eb63ece9c8b8e26a3f (diff) |
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 <gang65@poczta.onet.pl>
Diffstat (limited to 'emfio')
-rw-r--r-- | emfio/source/reader/emfreader.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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); } } } |