diff options
author | Eike Rathke <erack@redhat.com> | 2016-02-24 22:37:57 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-02-24 22:42:05 +0100 |
commit | 21edff2a37c9c22d200df2638e31f7ff3afe85b6 (patch) | |
tree | 8b3ded0d95c55ddf739e4baf71d5726fa79d80ab /editeng | |
parent | eb3e47dbf798103d09bb8f3461959726e917a75f (diff) |
let SvxSearchItem use SearchOptions2
And all those places that interface to SvxSearchItem.
Change-Id: I08915824a596cd0f247a89f44e4684cd22b98082
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit4.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 0abb8106031f..29a11179c941 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -2606,7 +2606,7 @@ bool ImpEditEngine::Search( const SvxSearchItem& rSearchItem, EditView* pEditVie bool ImpEditEngine::ImpSearch( const SvxSearchItem& rSearchItem, const EditSelection& rSearchSelection, const EditPaM& rStartPos, EditSelection& rFoundSel ) { - util::SearchOptions aSearchOptions( rSearchItem.GetSearchOptions() ); + util::SearchOptions2 aSearchOptions( rSearchItem.GetSearchOptions() ); aSearchOptions.Locale = GetLocale( rStartPos ); bool bBack = rSearchItem.GetBackward(); @@ -2622,7 +2622,7 @@ bool ImpEditEngine::ImpSearch( const SvxSearchItem& rSearchItem, nEndNode = bBack ? 0 : aEditDoc.Count()-1; } - utl::TextSearch aSearcher( utl::TextSearch::UpgradeToSearchOptions2( aSearchOptions) ); + utl::TextSearch aSearcher( aSearchOptions ); // iterate over the paragraphs ... for ( sal_Int32 nNode = nStartNode; |