diff options
author | Andras Timar <andras.timar@collabora.com> | 2014-03-12 14:53:44 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-03-12 14:54:32 +0100 |
commit | 360c7e573f0ce4b6a892bb7f7e51b9267bed5a6d (patch) | |
tree | 7f64db538a10e5eb0cd261020939fab49f7bd510 /svx | |
parent | ff768da1117d63f7c6e8513ab76927e5cc7ec9a6 (diff) |
fdo#71622 compress svg files in ODF
Change-Id: I7d3bcff12a8f24d4d63851f578f9703bfaa25278
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/xml/xmlgrhlp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index b90271cbbc14..d9b84e3cf4d4 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -533,7 +533,7 @@ sal_Bool SvXMLGraphicHelper::ImplWriteGraphic( const OUString& rPictureStorageNa xProps->setPropertyValue( "MediaType", aAny ); } - const sal_Bool bCompressed = aMimeType.isEmpty() || aMimeType == "image/tiff"; + const sal_Bool bCompressed = aMimeType.isEmpty() || aMimeType == "image/tiff" || aMimeType == "image/svg+xml"; aAny <<= bCompressed; xProps->setPropertyValue( "Compressed", aAny ); |