Kaydet (Commit) 360c7e57 authored tarafından Andras Timar's avatar Andras Timar

fdo#71622 compress svg files in ODF

Change-Id: I7d3bcff12a8f24d4d63851f578f9703bfaa25278
üst ff768da1
...@@ -533,7 +533,7 @@ sal_Bool SvXMLGraphicHelper::ImplWriteGraphic( const OUString& rPictureStorageNa ...@@ -533,7 +533,7 @@ sal_Bool SvXMLGraphicHelper::ImplWriteGraphic( const OUString& rPictureStorageNa
xProps->setPropertyValue( "MediaType", aAny ); 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; aAny <<= bCompressed;
xProps->setPropertyValue( "Compressed", aAny ); xProps->setPropertyValue( "Compressed", aAny );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment