diff options
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/comp/dim.cxx | 9 | ||||
-rw-r--r-- | basic/source/comp/io.cxx | 8 | ||||
-rw-r--r-- | basic/source/comp/token.cxx | 8 | ||||
-rw-r--r-- | basic/source/inc/token.hxx | 10 |
4 files changed, 1 insertions, 34 deletions
diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx index 1ea7ce3c6ca5..3b3a0e75bd5c 100644 --- a/basic/source/comp/dim.cxx +++ b/basic/source/comp/dim.cxx @@ -276,16 +276,9 @@ void SbiParser::DefVar( SbiOpcode eOp, bool bStatic ) } } -#ifdef SHARED -#define tmpSHARED -#undef SHARED -#endif // SHARED were ignored if( Peek() == SHARED ) Next(); -#ifdef tmpSHARED -#define SHARED -#undef tmpSHARED -#endif + // PRESERVE only at REDIM if( Peek() == PRESERVE ) { diff --git a/basic/source/comp/io.cxx b/basic/source/comp/io.cxx index 5314874f3521..d5954a0fe236 100644 --- a/basic/source/comp/io.cxx +++ b/basic/source/comp/io.cxx @@ -212,16 +212,8 @@ void SbiParser::Open() } switch( Peek() ) { -#ifdef SHARED -#undef SHARED -#define tmpSHARED -#endif case SHARED: Next(); nMode |= StreamMode::SHARE_DENYNONE; break; -#ifdef tmpSHARED -#define SHARED -#undef tmpSHARED -#endif case LOCK: Next(); eTok = Next(); diff --git a/basic/source/comp/token.cxx b/basic/source/comp/token.cxx index 0fd91c4def1b..ca57eb04dcc2 100644 --- a/basic/source/comp/token.cxx +++ b/basic/source/comp/token.cxx @@ -151,15 +151,7 @@ static const TokenTable aTokTable_Basic [] = { { RSET, "RSet" }, // JSM { SELECT, "Select" }, { SET, "Set" }, -#ifdef SHARED -#undef SHARED -#define tmpSHARED -#endif { SHARED, "Shared" }, -#ifdef tmpSHARED -#define SHARED -#undef tmpSHARED -#endif { TSINGLE, "Single" }, { STATIC, "Static" }, { STEP, "Step" }, diff --git a/basic/source/inc/token.hxx b/basic/source/inc/token.hxx index 6f850b814d89..483aab1c3dac 100644 --- a/basic/source/inc/token.hxx +++ b/basic/source/inc/token.hxx @@ -23,11 +23,6 @@ #include "scanner.hxx" #include <basic/sbdef.hxx> -#if defined( SHARED ) -#define SbiTokenSHAREDTMPUNDEF -#undef SHARED -#endif - #if defined( EXPLICIT ) #undef EXPLICIT #endif @@ -109,11 +104,6 @@ enum SbiToken { , VBASUPPORT }; -#ifdef SbiTokenSHAREDTMPUNDEF -#define SHARED -#undef SbiTokenSHAREDTMPUNDEF -#endif - class SbiTokenizer : public SbiScanner { protected: SbiToken eCurTok; |