summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-02-04 20:44:11 +0100
committerEike Rathke <erack@redhat.com>2016-02-04 21:52:08 +0100
commit40322a77af79420d0b30d32b3ec53c9a4fa00428 (patch)
tree54240a7c9b155a300599d7e273bac23e590206cf /vcl
parentf14d271d31e75de09821cf1766c7ab2a9c6e0461 (diff)
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
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/edit/xtextedt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/edit/xtextedt.cxx b/vcl/source/edit/xtextedt.cxx
index 8abe3438f06b..690cd8d9234e 100644
--- a/vcl/source/edit/xtextedt.cxx
+++ b/vcl/source/edit/xtextedt.cxx
@@ -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;