From 61451fec9b4ece2d2ef9d1d337dfc9e78c422d93 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 30 Jan 2012 13:17:45 +0000 Subject: fdo#44981 - remove obsolete SWAPLONG macros --- tools/inc/tools/solar.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tools/inc') diff --git a/tools/inc/tools/solar.h b/tools/inc/tools/solar.h index 2f33ad1064b6..0f0b123d8b06 100644 --- a/tools/inc/tools/solar.h +++ b/tools/inc/tools/solar.h @@ -144,10 +144,6 @@ inline void DoubleToSVBT64( double n, SVBT64 p ) { p[0] = ((sal_uInt8*)&n)[7 /*** standard macros *****************************************/ -#define SWAPSHORT(x) ((((x) >> 8) & 0x00FF) | (((x) & 0x00FF) << 8)) -#define SWAPLONG(x) ((((x) >> 24) & 0x000000FF) | (((x) & 0x00FF0000) >> 8) | \ - (((x) & 0x0000FF00) << 8) | (((x) & 0x000000FF) << 24)) - #ifndef __cplusplus #ifndef min #define min(a,b) (((a) < (b)) ? (a) : (b)) -- cgit