[Libreoffice-commits] core.git: desktop/unx

Thomas Arnhold thomas at arnhold.org
Wed Mar 27 03:50:38 PDT 2013


 desktop/unx/source/splashx.c |   12 ------------
 1 file changed, 12 deletions(-)

New commits:
commit 71907bb06ae6fc3c0ea1485b6ed0efaed196a57a
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Wed Mar 27 11:49:40 2013 +0100

    -Wunused-macros
    
    Change-Id: Ia147a72a4bbd5cec45a2a74b721a81ff8c4340c2

diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c
index 2a5f654..339218c 100644
--- a/desktop/unx/source/splashx.c
+++ b/desktop/unx/source/splashx.c
@@ -99,18 +99,6 @@ struct splash
 #define PROGRESS_YOFFSET 18
 #define PROGRESS_BARSPACE 2
 
-#define UINT8( x )      ( (unsigned int)( ( (uint8_t *)( x ) )[0] ) )
-
-#define UINT16( x ) (   ( (unsigned int)( ( (uint8_t *)( x ) )[0] ) ) + \
-                      ( ( (unsigned int)( ( (uint8_t *)( x ) )[1] ) ) << 8 ) )
-
-#define UINT32( x ) (   ( (unsigned int)( ( (uint8_t *)( x ) )[0] ) ) + \
-                      ( ( (unsigned int)( ( (uint8_t *)( x ) )[1] ) ) << 8  ) + \
-                      ( ( (unsigned int)( ( (uint8_t *)( x ) )[2] ) ) << 16 ) + \
-                      ( ( (unsigned int)( ( (uint8_t *)( x ) )[3] ) ) << 24 ) )
-
-#define MAX( x, y ) ( ( (x) > (y) )? (x): (y) )
-
 /* libpng-1.2.41 */
 #ifndef PNG_TRANSFORM_GRAY_TO_RGB
 #  define PNG_TRANSFORM_GRAY_TO_RGB   0x2000


More information about the Libreoffice-commits mailing list