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

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sun May 2 14:56:11 UTC 2021


 emfio/source/reader/emfreader.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a9243e626193ab4efe3a618413886773336a38e6
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun May 2 16:07:34 2021 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun May 2 16:55:32 2021 +0200

    SAL_INFO we want to display nVersion not nSignature (emfio/emfreader)
    
    Change-Id: Idc40ac8bc0adc2f22b4ff140a563d6f63814f2f1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115001
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx
index 3c40e3a6f914..ecef6ba6fe95 100644
--- a/emfio/source/reader/emfreader.cxx
+++ b/emfio/source/reader/emfreader.cxx
@@ -2135,7 +2135,7 @@ namespace emfio
         sal_uInt32 nVersion(0);
         mpInputStream->ReadUInt32(nVersion);  // according to [WS-EMF] 2.2.9, this SHOULD be 0x0001000, however
                                        // Microsoft note that not even Windows checks this...
-        SAL_INFO("emfio", "\tVersion: 0x" << std::hex << nSignature << std::dec);
+        SAL_INFO("emfio", "\tVersion: 0x" << std::hex << nVersion << std::dec);
         if (nVersion != 0x00010000)
         {
             SAL_WARN("emfio", "EMF\t\tThis really should be 0x00010000, though not absolutely essential...");


More information about the Libreoffice-commits mailing list