summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-08-01 10:50:38 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-08-01 10:50:38 +0000
commit6b73778938ed000fb4b19be1cd147dd8b4bc113c (patch)
tree936760e7463b4daf8dfe8a2b83bc6da82e9dc583 /unotools
parent131276929515dde5291b9b12f15f4830b508b7d0 (diff)
INTEGRATION: CWS pj55 (1.10.8); FILE MERGED
2006/07/18 06:58:20 pjanik 1.10.8.1: #i67354#: ifdef optimize pragma for _MSC_VER only.
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/i18n/textsearch.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx
index 50647ac398d4..4df38dce2c03 100644
--- a/unotools/source/i18n/textsearch.cxx
+++ b/unotools/source/i18n/textsearch.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: textsearch.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 14:07:39 $
+ * last change: $Author: ihi $ $Date: 2006-08-01 11:50:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -233,7 +233,7 @@ TextSearch::~TextSearch()
* Methoden fuer die normale Suche oder der Suche nach Regular-Expressions
* ueber die MethodenPointer auf.
*/
-#if ! defined(__GNUC__)
+#if defined _MSC_VER
#pragma optimize("", off)
#endif
int TextSearch::SearchFrwrd( const String & rStr, xub_StrLen* pStart,
@@ -298,7 +298,7 @@ int TextSearch::SearchBkwrd( const String & rStr, xub_StrLen* pStart,
return nRet;
}
-#if ! defined(__GNUC__)
+#if defined _MSC_VER
#pragma optimize("", on)
#endif