summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-03-12 14:53:44 +0100
committerAndras Timar <andras.timar@collabora.com>2014-03-12 14:54:32 +0100
commit360c7e573f0ce4b6a892bb7f7e51b9267bed5a6d (patch)
tree7f64db538a10e5eb0cd261020939fab49f7bd510
parentff768da1117d63f7c6e8513ab76927e5cc7ec9a6 (diff)
fdo#71622 compress svg files in ODF
Change-Id: I7d3bcff12a8f24d4d63851f578f9703bfaa25278
-rw-r--r--svx/source/xml/xmlgrhlp.cxx2
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 );