tdf#89665: i18npool: speed up TextSearch::searchBackward()
commitcfaeddd9ed07fad75182eb0cd040e63d08502b5e
authorMichael Stahl <mstahl@redhat.com>
Mon, 9 Mar 2015 22:56:24 +0000 (9 23:56 +0100)
committerEike Rathke <erack@redhat.com>
Tue, 10 Mar 2015 19:10:53 +0000 (10 19:10 +0000)
treec90f5545e99c144df6edb2d6d90cf37e1211f228
parent4bae2ea3b57cb88b34bf8a9eade7ab0a950e0185
tdf#89665: i18npool: speed up TextSearch::searchBackward()

There does not appear to be a good reason why searchBackward()
needs to call transliterate() on the entire passed string, so don't do that,
as in the previous commit for the other direction.

Change-Id: Iadfca806da89bf8825e5a3df7fcad64ea08d7f9c
(cherry picked from commit 666fb8b7bc210be6d785515bc7660e5a5d19b82e)
Reviewed-on: https://gerrit.libreoffice.org/14827
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
i18npool/source/search/textsearch.cxx