[Libreoffice-commits] core.git: emfio/source

Chris Sherlock (via logerrit) logerrit at kemper.freedesktop.org
Wed Nov 20 11:41:48 UTC 2019


 emfio/source/reader/emfreader.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 57c6920fb04dacfd9ceaf87adff46d124c9e1925
Author:     Chris Sherlock <chris.sherlock79 at gmail.com>
AuthorDate: Wed Nov 20 06:57:13 2019 +1100
Commit:     Bartosz Kosiorek <gang65 at poczta.onet.pl>
CommitDate: Wed Nov 20 12:40:37 2019 +0100

    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 at poczta.onet.pl>

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);
                     }
                 }
             }


More information about the Libreoffice-commits mailing list