summaryrefslogtreecommitdiff
path: root/xmlhelp/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-09-16 11:38:17 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-09-16 11:38:29 +0200
commit21fbe158f17c82c882ef91d3387f8adf15b6eb7c (patch)
treeaaaa978695ff6fc2bef5a5fff50f7f4cdbc19e8b /xmlhelp/source
parent8b950e8213c25212e6656a3e0da3ff6f470dcbfe (diff)
Remove useless variable
Change-Id: Id554c4aba878b329351b2c61e0e90d4515debd6a
Diffstat (limited to 'xmlhelp/source')
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
index 037bf8d0720b..9032ba74cda0 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
@@ -56,7 +56,6 @@
#include <algorithm>
#include <set>
-
#include <qe/Query.hxx>
#include <qe/DocGenerator.hxx>
#include "resultsetforquery.hxx"
@@ -233,8 +232,7 @@ ResultSetForQuery::ResultSetForQuery( const uno::Reference< lang::XMultiServiceF
for( int i = 0 ; i < nItemCount ; ++i )
{
const HitItem& rItem = rQueryResultVector[ i ];
- set< rtl::OUString >::iterator it;
- if( (it = aResultSet.find( rItem.m_aURL )) != aResultSet.end() )
+ if( (aResultSet.find( rItem.m_aURL )) != aResultSet.end() )
{
HitItem aItemCopy( rItem );
aItemCopy.m_fScore /= nQueryListSize; // To get average score