diff options
author | László Németh <nemeth@numbertext.org> | 2018-06-18 16:48:02 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-06-25 15:37:42 +0200 |
commit | 9ff1a70edfd2cf92a65825a5c6b0a68cd79c9056 (patch) | |
tree | 344e355d7f999a4fdaecfeb565ea4d967d54308b /include | |
parent | fa2e9cd1cb9a37028c4a1107b6a58e1ac701993b (diff) |
tdf#103913 keep ".emf" file extension and mime type
in documents, don't change them to wmf and image/x-wmf
silently, resulting for example, dropping or rejecting
modified documents by firewall packet filtering.
Reviewed-on: https://gerrit.libreoffice.org/56045
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
(cherry-picked from commit 4cb1e86e5217f09e1d98e51e46803a06fb72f5ce)
Change-Id: I3b8634ae022c7c026b0ed4ebc345c1c3b3f96337
Reviewed-on: https://gerrit.libreoffice.org/56080
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/gfxlink.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx index 054ab2cf2dca..29e7a0e53c88 100644 --- a/include/vcl/gfxlink.hxx +++ b/include/vcl/gfxlink.hxx @@ -111,6 +111,7 @@ public: void SwapIn(); bool IsSwappedOut() const { return( bool(mpSwapOutData) ); } + bool IsEMF() const; // WMF & EMF stored under the same type (NativeWmf) public: friend VCL_DLLPUBLIC SvStream& WriteGfxLink( SvStream& rOStream, const GfxLink& rGfxLink ); |