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

Noel Grandin noel at peralex.com
Fri Jun 3 09:44:13 UTC 2016


 vcl/source/filter/wmf/wmfwr.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 4b917b2cfccfd8c324969793c0ea530bd9273aa5
Author: Noel Grandin <noel at peralex.com>
Date:   Thu Jun 2 15:29:57 2016 +0200

    ignore comment WMF meta-actions in WMF writer
    
    Means nothing to this class and reduces spam in our unit test logs
    
    Change-Id: I56a1d01b98372691003410b6d7b0e5326b2ee7eb
    Reviewed-on: https://gerrit.libreoffice.org/25828
    Tested-by: Noel Grandin <noelgrandin at gmail.com>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx
index 8feb82d..8986a41 100644
--- a/vcl/source/filter/wmf/wmfwr.cxx
+++ b/vcl/source/filter/wmf/wmfwr.cxx
@@ -1633,6 +1633,9 @@ void WMFWriter::WriteRecords( const GDIMetaFile & rMTF )
                 }
                 break;
 
+                case( MetaActionType::COMMENT ): // ignore
+                break;
+
                 default:
                 {
                     OSL_FAIL(OStringBuffer(


More information about the Libreoffice-commits mailing list