summaryrefslogtreecommitdiff
path: root/tools/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-01-30 13:17:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-30 13:18:38 +0000
commit61451fec9b4ece2d2ef9d1d337dfc9e78c422d93 (patch)
tree7db6906da867d6af5a765579e9338b0838e34daf /tools/inc
parentbbc94edb9a91b27910d43610db9994df10dd99e1 (diff)
fdo#44981 - remove obsolete SWAPLONG macros
Diffstat (limited to 'tools/inc')
-rw-r--r--tools/inc/tools/solar.h4
1 files changed, 0 insertions, 4 deletions
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))