Kaydet (Commit) 40322a77 authored tarafından Eike Rathke's avatar Eike Rathke

this does not make sense

Either we pass the modified aOptions that isn't used anywhere else or we
eliminate that and pass the unmodified rSearchOptions. Assume that the
intention actually was to use the current locale.

Change-Id: I121c28163f0df4305d13ba18e32e18237bb49ade
üst f14d271d
......@@ -158,7 +158,7 @@ bool ExtTextEngine::Search( TextSelection& rSel, const util::SearchOptions& rSea
util::SearchOptions aOptions( rSearchOptions );
aOptions.Locale = Application::GetSettings().GetLanguageTag().getLocale();
utl::TextSearch aSearcher( rSearchOptions );
utl::TextSearch aSearcher( aOptions );
// iterate over the paragraphs
for ( sal_uInt32 nNode = nStartNode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment