summaryrefslogtreecommitdiff
path: root/filter/source/graphicfilter
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/graphicfilter')
-rw-r--r--filter/source/graphicfilter/itga/itga.cxx21
1 files changed, 10 insertions, 11 deletions
diff --git a/filter/source/graphicfilter/itga/itga.cxx b/filter/source/graphicfilter/itga/itga.cxx
index 35d438bef8e1..080b0b98efb5 100644
--- a/filter/source/graphicfilter/itga/itga.cxx
+++ b/filter/source/graphicfilter/itga/itga.cxx
@@ -304,7 +304,6 @@ sal_Bool TGAReader::ImplReadBody()
nYAdd -=2;
}
-// nDepth = mpFileHeader->nPixelDepth - ( mpFileHeader->nImageDescriptor & 0xf );
nDepth = mpFileHeader->nPixelDepth;
if ( mbEncoding )
@@ -339,7 +338,7 @@ sal_Bool TGAReader::ImplReadBody()
nYCount++;
if( nYCount >= mpFileHeader->nImageHeight )
- return false; // invalid picture
+ break;
}
}
}
@@ -364,7 +363,7 @@ sal_Bool TGAReader::ImplReadBody()
nYCount++;
if( nYCount >= mpFileHeader->nImageHeight )
- return false; // invalid picture
+ break;
}
}
}
@@ -394,7 +393,7 @@ sal_Bool TGAReader::ImplReadBody()
nYCount++;
if( nYCount >= mpFileHeader->nImageHeight )
- return false; // invalid picture
+ break;
}
}
}
@@ -417,7 +416,7 @@ sal_Bool TGAReader::ImplReadBody()
nYCount++;
if( nYCount >= mpFileHeader->nImageHeight )
- return false; // invalid picture
+ break;
}
}
}
@@ -453,7 +452,7 @@ sal_Bool TGAReader::ImplReadBody()
nYCount++;
if( nYCount >= mpFileHeader->nImageHeight )
- return false; // invalid picture
+ break;
}
}
}
@@ -473,7 +472,7 @@ sal_Bool TGAReader::ImplReadBody()
nYCount++;
if( nYCount >= mpFileHeader->nImageHeight )
- return false; // invalid picture
+ break;
}
}
}
@@ -502,7 +501,7 @@ sal_Bool TGAReader::ImplReadBody()
nYCount++;
if( nYCount >= mpFileHeader->nImageHeight )
- return false; // invalid picture
+ break;
}
}
}
@@ -522,7 +521,7 @@ sal_Bool TGAReader::ImplReadBody()
nYCount++;
if( nYCount >= mpFileHeader->nImageHeight )
- return false; // invalid picture
+ break;
}
}
}
@@ -553,7 +552,7 @@ sal_Bool TGAReader::ImplReadBody()
nYCount++;
if( nYCount >= mpFileHeader->nImageHeight )
- return false; // invalid picture
+ break;
}
}
}
@@ -576,7 +575,7 @@ sal_Bool TGAReader::ImplReadBody()
nYCount++;
if( nYCount >= mpFileHeader->nImageHeight )
- return false; // invalid picture
+ break;
}
}
}