[Libreoffice-commits] core.git: filter/source
Caolán McNamara
caolanm at redhat.com
Thu Feb 15 16:15:07 UTC 2018
filter/source/graphicfilter/ipsd/ipsd.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 79297e32646bf8276f38b1317319abd36cdd45a8
Author: Caolán McNamara <caolanm at 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 <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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;
More information about the Libreoffice-commits
mailing list