remvove vos/macros.h usage

This commit is contained in:
Norbert Thiebaud
2010-10-21 15:32:10 -05:00
parent a4c9006894
commit d441fa1f8c
4 changed files with 9 additions and 2 deletions

View File

@@ -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;

View File

@@ -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

View File

@@ -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

View File

@@ -56,7 +56,6 @@
using namespace rtl;
using namespace cppu;
//using namespace vos;
using namespace ModuleA;
//using namespace ModuleB;
//using namespace ModuleC;