svx/source/xml/xmlgrhlp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 360c7e573f0ce4b6a892bb7f7e51b9267bed5a6d
Author: Andras Timar <andras.ti...@collabora.com>
Date:   Wed Mar 12 14:53:44 2014 +0100

    fdo#71622 compress svg files in ODF
    
    Change-Id: I7d3bcff12a8f24d4d63851f578f9703bfaa25278

diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index b90271c..d9b84e3 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 );
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to