[Libreoffice-commits] core.git: vcl/source

Eike Rathke erack at redhat.com
Thu Feb 4 20:52:55 UTC 2016


 vcl/source/edit/xtextedt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 40322a77af79420d0b30d32b3ec53c9a4fa00428
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Feb 4 20:44:11 2016 +0100

    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

diff --git a/vcl/source/edit/xtextedt.cxx b/vcl/source/edit/xtextedt.cxx
index 8abe343..690cd8d 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;


More information about the Libreoffice-commits mailing list