remvove vos/macros.h usage
This commit is contained in:
@@ -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 @@
|
|||||||
# 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 @@
|
|||||||
#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 @@
|
|||||||
|
|
||||||
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;
|
||||||
|
Reference in New Issue
Block a user