diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-01-01 22:39:15 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-01 22:39:15 +0100 |
commit | 59074c09b838ebaf63f5d3e7578bb473080ec0ee (patch) | |
tree | d3c0ce525b44338b1512809adf78f87c88a3b92d /unotools | |
parent | RTL_CONSTASCII_(U)STRINGPARAM removed in desktop (diff) | |
download | core-59074c09b838ebaf63f5d3e7578bb473080ec0ee.tar.gz core-59074c09b838ebaf63f5d3e7578bb473080ec0ee.zip |
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.cxx | 11 |
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 // ............................................................................ |