summaryrefslogtreecommitdiff
path: root/unotools
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 /unotools
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 'unotools')
-rw-r--r--unotools/source/i18n/textsearch.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx
index 770b529136af..91051501f873 100644
--- a/unotools/source/i18n/textsearch.cxx
+++ b/unotools/source/i18n/textsearch.cxx
@@ -206,11 +206,6 @@ TextSearch::~TextSearch()
* methods, such as ordinary string searching or regular expression
* matching, using the method pointer.
*/
-#if defined _MSC_VER
-#pragma optimize("", off)
-#pragma warning(push)
-#pragma warning(disable: 4748)
-#endif
int TextSearch::SearchFrwrd( const String & rStr, xub_StrLen* pStart,
xub_StrLen* pEnde, SearchResult* pRes )
{
@@ -406,12 +401,6 @@ void TextSearch::ReplaceBackReferences( String& rReplaceStr, const String &rStr,
}
}
-
-#if defined _MSC_VER
-#pragma optimize("", on)
-#pragma warning(pop)
-#endif
-
// ............................................................................
} // namespace utl
// ............................................................................