summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-03-12 14:53:44 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-03-12 10:33:59 -0500
commitcab3cac0d77651718051c88a068f8e3966dbb4e8 (patch)
tree7b8e394877a70f4cc05e0329ea768c2e03e3fc88 /svx
parent01acca76d62fbf6bebc24ef72f3c5b93dcd41b85 (diff)
fdo#71622 compress svg files in ODF
Change-Id: I7d3bcff12a8f24d4d63851f578f9703bfaa25278 Reviewed-on: https://gerrit.libreoffice.org/8551 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'svx')
-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 95f5639157dd..6972ef0e009c 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -529,7 +529,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 );