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

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 20 16:17:15 UTC 2020


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

New commits:
commit 971c4135b3a11cd74a13ac0eb4e3aaae4e7dfefd
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Mon Jan 20 15:46:24 2020 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Jan 20 17:16:41 2020 +0100

    fix constants according to [MS-EMF] 2.1.10
    
    Change-Id: I048eb097e9570f2ad2fecef5e725c98e36e6559e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87078
    Tested-by: Jenkins
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx
index 24600e58c360..e29ec1b39132 100644
--- a/emfio/source/reader/emfreader.cxx
+++ b/emfio/source/reader/emfreader.cxx
@@ -384,8 +384,8 @@ namespace emfio
 #if OSL_DEBUG_LEVEL > 0
     const sal_uInt32 EMR_COMMENT_BEGINGROUP = 0x00000002;
     const sal_uInt32 EMR_COMMENT_ENDGROUP = 0x00000003;
-    const sal_uInt32 EMR_COMMENT_MULTIFORMATS = 0x00000004;
-    const sal_uInt32 EMR_COMMENT_WINDOWS_METAFILE = 0x00000005;
+    const sal_uInt32 EMR_COMMENT_MULTIFORMATS = 0x40000004;
+    const sal_uInt32 EMR_COMMENT_WINDOWS_METAFILE = 0x80000001;
 
     void EmfReader::ReadGDIComment(sal_uInt32 nCommentId)
     {


More information about the Libreoffice-commits mailing list