summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
index b362ee21c665..685525daf4d7 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
@@ -107,9 +107,8 @@ ResultSetForQuery::ResultSetForQuery( const uno::Reference< uno::XComponentConte
vector< OUString > currentQuery;
OUString tmp(query.copy( 0,idx ));
- rtl:: OUString toliterate = tmp;
Sequence<sal_Int32> aSeq;
- toliterate = xTrans->transliterate(
+ OUString toliterate = xTrans->transliterate(
tmp,0,tmp.getLength(),aSeq);
currentQuery.push_back( toliterate );