[Libreoffice-commits] .: desktop/unx
Takeshi Abe
tabe at kemper.freedesktop.org
Wed May 4 09:27:47 PDT 2011
desktop/unx/source/splashx.c | 15 ---------------
1 file changed, 15 deletions(-)
New commits:
commit 0ebaf792c468cdca4cf3082db960bb08c26293b8
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu May 5 01:22:16 2011 +0900
removed dead code
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c
index 711671f..a8a87b0 100755
--- a/desktop/unx/source/splashx.c
+++ b/desktop/unx/source/splashx.c
@@ -144,18 +144,6 @@ int splash_load_bmp( const char *filename )
width = png_get_image_width( png_ptr, info_ptr );
height = png_get_image_height( png_ptr, info_ptr );
-#if 0
- {
- int i,j;
- for (j = 0; j < height; j++) {
- for (i = 0; i < width*3; i++) {
- fprintf (stderr, "%.2x", bitmap_rows[j][i]);
- }
- fprintf (stderr, "\n");
- }
- }
-#endif
-
return 1;
}
#else
@@ -173,8 +161,6 @@ int splash_load_bmp( const char *filename )
if ( read( fd, file_header, BMP_HEADER_LEN ) != BMP_HEADER_LEN || file_header[0] != 'B' || file_header[1] != 'M' )
LOAD_FAILURE( "Not a bitmap.\n" );
-/* int file_size = UINT32( file_header + 2 ); */
-
char info_header[ WIN_INFO_LEN ];
if ( read( fd, info_header, 4 ) != 4 )
LOAD_FAILURE( "Unable to read the header.\n" );
@@ -582,7 +568,6 @@ static void process_events()
{
num_events--;
XNextEvent( display, &xev );
- //process_event(xev);
}
}
More information about the Libreoffice-commits
mailing list