diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-11 17:06:23 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-11 17:06:23 +0100 |
commit | 2701e0f33ca1190d788f7a8379b7b9d4f6caa05d (patch) | |
tree | 3791fcf99d59698f92ca0e373e69d55c839b93d0 /tools | |
parent | 322a75edf8bad6616b1543a6b81972f4c3765ee2 (diff) |
removetooltypes01: #i112600# Added intermediate type to get rid of ULONG without using the old bad type replacement
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/solar.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/inc/tools/solar.h b/tools/inc/tools/solar.h index 446e7e7cb738..74b6f8246d8c 100644 --- a/tools/inc/tools/solar.h +++ b/tools/inc/tools/solar.h @@ -40,6 +40,15 @@ #define _SOLAR__PRIVATE 1 #define __REFERENCED 0 +/************************************************************ + Intermediate type to solve type clash with Windows headers. + Should be removed as soon as all code parts have been reviewed + and the correct type is known. Most of the times ULONG is meant + to be a 32-Bit unsigned integer type as sal_uInt32 is often + used for data exchange or for similiar method args. +*************************************************************/ +typedef sal_uIntPtr sal_uLong; /* Replaces type ULONG */ + /*** misc. macros to leverage platform and compiler differences ********/ #define DELETEZ( p ) ( delete p,p = 0 ) |