summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-02 15:29:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-03 09:43:31 +0000
commit4b917b2cfccfd8c324969793c0ea530bd9273aa5 (patch)
tree6bbf3431b55ac272005baf8b9507ba3833b7b951 /vcl
parent623de75b6515b8e9b6ce2766e7d90277c8714d82 (diff)
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@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/wmf/wmfwr.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx
index 8feb82d8a2ab..8986a41fa5c8 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(