diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-24 15:02:49 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-24 15:46:42 +0200 |
commit | 3930127dfbf2a11830b5d35c1d88a7ecfe9f56d2 (patch) | |
tree | 1be772661a121fe54fb803b33de92057fdc90a8f | |
parent | ec1c2c566de1bede1ade93e1323def687209259a (diff) |
cppcheck: redundantAssignment
Change-Id: I6fcece7f7a77060bfa3cd3d40db3fa4f253cf261
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx | 3 |
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 ); |