summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-14 10:41:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-14 11:34:52 +0000
commit5e4fb242789f619b66fad4392df4079f6c4863dc (patch)
tree070046d9a4dc93876cb87fcdf1b0df52422a65f3 /filter
parent6ed7a9759fdf6affdb6ec81a9aae7a3398de8d9b (diff)
this is already checked for
Change-Id: I01af66bfdcbee0a3d63a17c0a19fdd3c02d4acdc
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/iras/iras.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/filter/source/graphicfilter/iras/iras.cxx b/filter/source/graphicfilter/iras/iras.cxx
index 1cc6cd26f4be..3fb27e56e507 100644
--- a/filter/source/graphicfilter/iras/iras.cxx
+++ b/filter/source/graphicfilter/iras/iras.cxx
@@ -105,13 +105,6 @@ bool RASReader::ReadRAS(Graphic & rGraphic)
if ( !mbStatus )
return false;
- if (mnDstBitsPerPix != 1 &&
- mnDstBitsPerPix != 8 &&
- mnDstBitsPerPix != 24)
- {
- return false;
- }
-
bool bPalette(false);
BitmapPalette aPalette;