Kaydet (Commit) d441fa1f authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

remvove vos/macros.h usage

üst a4c90068
...@@ -58,7 +58,6 @@ ...@@ -58,7 +58,6 @@
using namespace ::rtl; using namespace ::rtl;
using namespace ::osl; using namespace ::osl;
using namespace ::cppu; using namespace ::cppu;
//using namespace ::vos;
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::io; using namespace ::com::sun::star::io;
using namespace ::com::sun::star::lang; using namespace ::com::sun::star::lang;
......
...@@ -44,4 +44,12 @@ ...@@ -44,4 +44,12 @@
# define SAL_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) # define SAL_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0]))
#endif #endif
#ifndef SAL_BOUND
# define SAL_BOUND(x,l,h) ((x) <= (l) ? (l) : ((x) >= (h) ? (h) : (x)))
#endif
#ifndef SAL_ABS
# define SAL_ABS(a) (((a) < 0) ? (-(a)) : (a))
#endif
#endif #endif
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#define _SAL_TYPES_H_ #define _SAL_TYPES_H_
#include <sal/config.h> #include <sal/config.h>
#include <sal/macros.h>
/* Grab __SIZEOFxxx constants from typesconfig tool on Unix */ /* Grab __SIZEOFxxx constants from typesconfig tool on Unix */
#if defined UNX #if defined UNX
......
...@@ -56,7 +56,6 @@ ...@@ -56,7 +56,6 @@
using namespace rtl; using namespace rtl;
using namespace cppu; using namespace cppu;
//using namespace vos;
using namespace ModuleA; using namespace ModuleA;
//using namespace ModuleB; //using namespace ModuleB;
//using namespace ModuleC; //using namespace ModuleC;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment