summaryrefslogtreecommitdiff
path: root/i18npool/source/search/textsearch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/search/textsearch.cxx')
-rw-r--r--i18npool/source/search/textsearch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx
index b2f87d1af76c..57a995ee421f 100644
--- a/i18npool/source/search/textsearch.cxx
+++ b/i18npool/source/search/textsearch.cxx
@@ -329,7 +329,7 @@ SearchResult TextSearch::searchForward( const OUString& searchStr, sal_Int32 sta
{
SearchResult sres2;
- in_str = OUString(searchStr);
+ in_str = searchStr;
css::uno::Sequence <sal_Int32> offset( in_str.getLength());
in_str = xTranslit2->transliterate( searchStr, 0, in_str.getLength(), offset );
@@ -436,7 +436,7 @@ SearchResult TextSearch::searchBackward( const OUString& searchStr, sal_Int32 st
{
SearchResult sres2;
- in_str = OUString(searchStr);
+ in_str = searchStr;
css::uno::Sequence <sal_Int32> offset( in_str.getLength());
in_str = xTranslit2->transliterate(searchStr, 0, in_str.getLength(), offset);