diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:41:22 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:41:22 +0000 |
commit | 21c9ba1544972dea589ae28bbf8165c2a05058ba (patch) | |
tree | 7a7440d1e8c0c4f4912dd65117ade245b4a16cd6 /xmlhelp/source/cxxhelp/qe | |
parent | e5b7af88db0de698d330ef15e11b3cb53f16f397 (diff) |
INTEGRATION: CWS warnings01 (1.9.18); FILE MERGED
2005/12/15 16:36:46 ab 1.9.18.1: #i53898# Removed warnings for unxlngi6/unxlngi6.pro
Diffstat (limited to 'xmlhelp/source/cxxhelp/qe')
-rw-r--r-- | xmlhelp/source/cxxhelp/qe/Query.cxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/xmlhelp/source/cxxhelp/qe/Query.cxx b/xmlhelp/source/cxxhelp/qe/Query.cxx index 69df47f6befc..cbd642ade419 100644 --- a/xmlhelp/source/cxxhelp/qe/Query.cxx +++ b/xmlhelp/source/cxxhelp/qe/Query.cxx @@ -4,9 +4,9 @@ * * $RCSfile: Query.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: rt $ $Date: 2005-09-09 12:23:21 $ + * last change: $Author: hr $ $Date: 2006-06-20 00:41:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -67,12 +67,12 @@ sal_Int32* QueryHit::getMatches( sal_Int32& matchesL ) HitStore::HitStore( double initialStandard,sal_Int32 limit,sal_Int32 nColumns ) - : standard_( initialStandard ), - limit_( limit ), - heap_( limit ), + : limit_( limit ), nColumns_( nColumns ), + index_( 0 ), free_( 0 ), - index_( 0 ) + standard_( initialStandard ), + heap_( limit ) { for( sal_uInt32 i = 0; i < heap_.size(); ++i ) heap_[i] = 0; @@ -223,19 +223,19 @@ Query::Query( XmlIndex* env, double* missingPenalties ) : env_( env ), ctx_( env ? env->getContextInfo() : 0 ), - nColumns_( nColumns ), + store_( nColumns * MissingTermPenalty - 0.0001,nHits,nColumns ), nHitsRequested_( nHits ), + nColumns_( nColumns ), + currentStandard_( nColumns * MissingTermPenalty - 0.0001 ), missingPenaltyL_( nColumns ), - missingPenalty_( new double[ nColumns ] ), upperboundTemplateL_( nColumns ), - upperboundTemplate_( new double[ nColumns ] ), penaltiesL_( missingPenaltiesL ), + missingPenalty_( new double[ nColumns ] ), + upperboundTemplate_( new double[ nColumns ] ), penalties_( missingPenalties ), - currentStandard_( nColumns * MissingTermPenalty - 0.0001 ), - missingTermsPenalty_( 0.0 ), - store_( nColumns * MissingTermPenalty - 0.0001,nHits,nColumns ), ignoredElementsL_( 0 ), - ignoredElements_( 0 ) + ignoredElements_( 0 ), + missingTermsPenalty_( 0.0 ) { // for the EmptyQuery case (awaits arch improvement pass) @@ -378,8 +378,8 @@ void Query::updateEstimate( sal_Int32 role,double penalty ) QueryHitIterator::QueryHitIterator( const QueryResults* result ) - : result_( result ), - index_( -1 ) + : index_( -1 ), + result_( result ) { } |