diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-02-15 13:12:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-02-15 17:14:40 +0100 |
commit | 79297e32646bf8276f38b1317319abd36cdd45a8 (patch) | |
tree | cd20875db354852fbac49558a2413097e37675d9 | |
parent | 764e4a4cd384ce9aafa2ba4ba862f7dc8a4c8934 (diff) |
ofz#6376 Floating-point-exception
Change-Id: Ic7dcbbd3e54796c7f5fed1dd72e9f7735079dd7d
Reviewed-on: https://gerrit.libreoffice.org/49814
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | filter/source/graphicfilter/ipsd/ipsd.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |