[ooo-build-commit] .: patches/dev300

Thorsten Behrens thorsten at kemper.freedesktop.org
Wed Apr 7 07:03:22 PDT 2010


 patches/dev300/vcl-pngread-greypalette-fix.diff |   10 ----------
 1 file changed, 10 deletions(-)

New commits:
commit 6d4dd4550f7ddaa602e0ef815fd2190e0e806c40
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Wed Apr 7 11:36:14 2010 +0200

    Bin useless hunk
    
    * patches/dev300/vcl-pngread-greypalette-fix.diff: checking for
      mbStatus twice is probably not too useful

diff --git a/patches/dev300/vcl-pngread-greypalette-fix.diff b/patches/dev300/vcl-pngread-greypalette-fix.diff
index 2f2d2e9..b01a0ea 100644
--- a/patches/dev300/vcl-pngread-greypalette-fix.diff
+++ b/patches/dev300/vcl-pngread-greypalette-fix.diff
@@ -2,16 +2,6 @@ diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
 index fe559f5..de2ddf7 100644
 --- vcl/source/gdi/pngread.cxx
 +++ vcl/source/gdi/pngread.cxx
-@@ -376,6 +376,9 @@ BitmapEx PNGReaderImpl::GetBitmapEx( const Size& rPreviewSizeHint )
-     // parse the chunks
-     while( mbStatus && !mbIDAT && ReadNextChunk() )
-     {
-+        if( !mbStatus )
-+            break;
-+
-         switch( mnChunkType )
-         {
-             case PNGCHUNK_IHDR :
 @@ -706,7 +709,7 @@ void PNGReaderImpl::ImplGetGrayPalette( sal_uInt16 nBitDepth )
          nBitDepth = 8;
  


More information about the ooo-build-commit mailing list