remvove vos/macros.h usage
This commit is contained in:
@@ -58,7 +58,6 @@
|
||||
using namespace ::rtl;
|
||||
using namespace ::osl;
|
||||
using namespace ::cppu;
|
||||
//using namespace ::vos;
|
||||
using namespace ::com::sun::star::uno;
|
||||
using namespace ::com::sun::star::io;
|
||||
using namespace ::com::sun::star::lang;
|
||||
|
@@ -44,4 +44,12 @@
|
||||
# define SAL_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0]))
|
||||
#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
|
||||
|
@@ -29,6 +29,7 @@
|
||||
#define _SAL_TYPES_H_
|
||||
|
||||
#include <sal/config.h>
|
||||
#include <sal/macros.h>
|
||||
|
||||
/* Grab __SIZEOFxxx constants from typesconfig tool on Unix */
|
||||
#if defined UNX
|
||||
|
@@ -56,7 +56,6 @@
|
||||
|
||||
using namespace rtl;
|
||||
using namespace cppu;
|
||||
//using namespace vos;
|
||||
using namespace ModuleA;
|
||||
//using namespace ModuleB;
|
||||
//using namespace ModuleC;
|
||||
|
Reference in New Issue
Block a user