From 2ea0e264c96e71fe8e2b62a7029b7344a1ec7f04 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 12 Oct 2006 10:28:24 +0000 Subject: INTEGRATION: CWS sb59 (1.14.12); FILE MERGED 2006/08/30 11:10:27 sb 1.14.12.1: #i67487# Made code warning-free (wntmsci10). --- xmlhelp/source/cxxhelp/qe/XmlIndex.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'xmlhelp/source/cxxhelp/qe') diff --git a/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx b/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx index f4c876899b13..02cae952b164 100644 --- a/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx +++ b/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx @@ -4,9 +4,9 @@ * * $RCSfile: XmlIndex.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: obo $ $Date: 2006-09-17 01:20:13 $ + * last change: $Author: obo $ $Date: 2006-10-12 11:28:24 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -116,7 +116,8 @@ XmlIndex::XmlIndex( const rtl::OUString& indexDir ) if( positionsFile_ ) { //!!! temporary: better than fixed large value, worse than 'intelligent' size mgt - if( allInCache_ = true ) // yes, intended + allInCache_ = true; + if( allInCache_ ) // yes, intended { reset(); positions_ = new sal_Int8[ positionsL_ = positionsFile_->length() ]; @@ -455,7 +456,7 @@ QueryHitData* XmlIndex::hitToData( QueryHit* hit ) { terms[i] = fetch( match ); } - catch( const excep::XmlSearchException& e ) + catch( const excep::XmlSearchException& ) { } } -- cgit