[Libreoffice-commits] core.git: filter/source

Eike Rathke erack at redhat.com
Wed Sep 20 15:27:50 UTC 2017


 filter/source/graphic/GraphicExportFilter.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 8e7196a56bd8c8b7b82a712a916cda1de21177b6
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Sep 20 17:25:37 2017 +0200

    Get the comments right
    
    Change-Id: I936b22af55b4dae3c9352f4e1238a6351a03cb3d
    Reviewed-on: https://gerrit.libreoffice.org/42553
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/filter/source/graphic/GraphicExportFilter.cxx b/filter/source/graphic/GraphicExportFilter.cxx
index de9d68646e27..9df878abfe96 100644
--- a/filter/source/graphic/GraphicExportFilter.cxx
+++ b/filter/source/graphic/GraphicExportFilter.cxx
@@ -142,19 +142,19 @@ sal_Bool SAL_CALL GraphicExportFilter::filter( const Sequence<PropertyValue>& rD
         sal_Int32 nLen = aFilterData.getLength();
         aFilterData.realloc( nLen + nAdd);
         if (!maCompression.hasValue())
-        {   // PNG,JPG
+        {   // PNG
             aFilterData[ nLen ].Name = "Compression";
             aFilterData[ nLen ].Value <<= (sal_Int32) 9;
             ++nLen;
         }
         if (!maInterlaced.hasValue())
-        {   // PNG,JPG
+        {   // PNG,GIF
             aFilterData[ nLen ].Name = "Interlaced";
             aFilterData[ nLen ].Value <<= (sal_Int32) 0;
             ++nLen;
         }
         if (!maTranslucent.hasValue())
-        {   // PNG
+        {   // PNG,GIF
             aFilterData[ nLen ].Name = "Translucent";
             aFilterData[ nLen ].Value <<= (sal_Int32) 0;
             ++nLen;


More information about the Libreoffice-commits mailing list