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

New commits:
commit cab3cac0d77651718051c88a068f8e3966dbb4e8
Author: Andras Timar <[email protected]>
Date:   Wed Mar 12 14:53:44 2014 +0100

    fdo#71622 compress svg files in ODF
    
    Change-Id: I7d3bcff12a8f24d4d63851f578f9703bfaa25278
    Reviewed-on: https://gerrit.libreoffice.org/8551
    Reviewed-by: Miklos Vajna <[email protected]>
    Tested-by: Miklos Vajna <[email protected]>

diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index 95f5639..6972ef0 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 );
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to