summaryrefslogtreecommitdiff
path: root/basic/source/comp
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-01-01 22:39:15 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-01-01 22:39:15 +0100
commit59074c09b838ebaf63f5d3e7578bb473080ec0ee (patch)
treed3c0ce525b44338b1512809adf78f87c88a3b92d /basic/source/comp
parentf9f9fa1ef72c78accfbc25b33748a1046aa01843 (diff)
remove use of #pragma optimize
All these are years old, guessing from some comments as old as Windows 9x support. These workarounds do not seem to be needed now. Change-Id: If67baa5cdefcec33b28696c764b1ed96143b7ccd
Diffstat (limited to 'basic/source/comp')
-rw-r--r--basic/source/comp/loops.cxx8
-rw-r--r--basic/source/comp/token.cxx10
2 files changed, 0 insertions, 18 deletions
diff --git a/basic/source/comp/loops.cxx b/basic/source/comp/loops.cxx
index ac536484e2c8..127ec8809c6a 100644
--- a/basic/source/comp/loops.cxx
+++ b/basic/source/comp/loops.cxx
@@ -451,10 +451,6 @@ done:
// ON Error/Variable
-#ifdef _MSC_VER
-#pragma optimize("",off)
-#endif
-
void SbiParser::On()
{
SbiToken eTok = Peek();
@@ -519,10 +515,6 @@ void SbiParser::On()
}
}
-#ifdef _MSC_VER
-#pragma optimize("",off)
-#endif
-
// RESUME [0]|NEXT|label
void SbiParser::Resume()
diff --git a/basic/source/comp/token.cxx b/basic/source/comp/token.cxx
index ca62163838bb..e0dc9fda3ac6 100644
--- a/basic/source/comp/token.cxx
+++ b/basic/source/comp/token.cxx
@@ -533,11 +533,6 @@ special:
return eCurTok;
}
-#ifdef _MSC_VER
-#pragma optimize("",off)
-#endif
-
-
bool SbiTokenizer::MayBeLabel( bool bNeedsColon )
{
if( eCurTok == SYMBOL || m_aTokenLabelInfo.canTokenBeLabel( eCurTok ) )
@@ -552,9 +547,4 @@ bool SbiTokenizer::MayBeLabel( bool bNeedsColon )
}
}
-#ifdef _MSC_VER
-#pragma optimize("",off)
-#endif
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */