diff options
author | Eike Rathke <erack@redhat.com> | 2016-02-05 16:56:54 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-02-05 17:02:47 +0100 |
commit | 599f0cbe1ddc1d54828489b389b78fdffa4ce39f (patch) | |
tree | 25173fd65460b33ef43910514559c203987a6c42 /sc | |
parent | 4c4976f717b3ddce68a872dffc2079ae49c41616 (diff) |
interface to new XTextSearch2 with SearchOptions2, tdf#72196
Places that had utl::TextSearch::UpgradeToSearchOptions2() introduced
are worth an inspection if the new SearchAlgorithms2::WILDCARD search
should be supported or at least use SearchOptions2 instead of
SearchOptions to eliminate the small performance penalty that conversion
involves.
Change-Id: I565f73af2b551ae9ad0f488e672823dc6c5c1109
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/table6.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx index 512bbd3e01d8..d99fa4258289 100644 --- a/sc/source/core/data/table6.cxx +++ b/sc/source/core/data/table6.cxx @@ -744,7 +744,7 @@ bool ScTable::SearchAndReplace( ( css::i18n::TransliterationModules_IGNORE_CASE | css::i18n::TransliterationModules_IGNORE_WIDTH ); - pSearchText = new utl::TextSearch( aSearchOptions ); + pSearchText = new utl::TextSearch( utl::TextSearch::UpgradeToSearchOptions2( aSearchOptions) ); if (nCommand == SvxSearchCmd::FIND) bFound = Search(rSearchItem, rCol, rRow, rMark, rUndoStr, pUndoDoc); |