filter/source/graphicfilter/ipsd/ipsd.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 79297e32646bf8276f38b1317319abd36cdd45a8
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Feb 15 13:12:41 2018 +0000

    ofz#6376 Floating-point-exception
    
    Change-Id: Ic7dcbbd3e54796c7f5fed1dd72e9f7735079dd7d
    Reviewed-on: https://gerrit.libreoffice.org/49814
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/filter/source/graphicfilter/ipsd/ipsd.cxx 
b/filter/source/graphicfilter/ipsd/ipsd.cxx
index 344dbb6d3e07..d962f603c50d 100644
--- a/filter/source/graphicfilter/ipsd/ipsd.cxx
+++ b/filter/source/graphicfilter/ipsd/ipsd.cxx
@@ -125,7 +125,7 @@ bool PSDReader::ReadPSD(Graphic & rGraphic )
         }
     }
 
-    if ((mnDestBitDepth == 1 || mnDestBitDepth == 8) && mvPalette.empty())
+    if ((mnDestBitDepth == 1 || mnDestBitDepth == 8 || mbTransparent) && 
mvPalette.empty())
     {
         mbStatus = false;
         return mbStatus;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to