summaryrefslogtreecommitdiff
path: root/vcl/generic/glyphs
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-14 16:16:20 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-14 16:17:47 +0200
commite60f6ac2492f7780f55e0d336966d78097a4b396 (patch)
treeb1fd1e0e60533e6994c8727f523faefdaa3da124 /vcl/generic/glyphs
parente0cf60a4acfcb7788ebd145a1ddb7354b5d7d39a (diff)
Revert "WaE: comparison of integers of different signs"
This is pointless, the GCC warning was fixed in the previous commit and FT_Bitmap.width is of type "unsigned int" already. This reverts commit bc4a2d7ce9d4417f9d6cd58505d4ea3e959b1354.
Diffstat (limited to 'vcl/generic/glyphs')
-rw-r--r--vcl/generic/glyphs/gcach_ftyp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index 85e01f3c598d..823b568311f1 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -1206,7 +1206,7 @@ bool ServerFont::GetGlyphBitmap8( sal_GlyphId aGlyphId, RawBitmap& rRawBitmap )
unsigned int x;
for( int y = rRawBitmap.mnHeight; --y >= 0 ; )
{
- for( x = 0; x < static_cast<unsigned int>(rBitmapFT.width); ++x )
+ for( x = 0; x < rBitmapFT.width; ++x )
*(pDest++) = *(pSrc++);
for(; x < rRawBitmap.mnScanlineSize; ++x )
*(pDest++) = 0;
@@ -1218,7 +1218,7 @@ bool ServerFont::GetGlyphBitmap8( sal_GlyphId aGlyphId, RawBitmap& rRawBitmap )
for( int y = rRawBitmap.mnHeight; --y >= 0 ; )
{
unsigned char nSrc = 0;
- for( x = 0; x < static_cast<unsigned int>(rBitmapFT.width); ++x, nSrc+=nSrc )
+ for( x = 0; x < rBitmapFT.width; ++x, nSrc+=nSrc )
{
if( (x & 7) == 0 )
nSrc = *(pSrc++);