summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 10:28:24 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 10:28:24 +0000
commit2ea0e264c96e71fe8e2b62a7029b7344a1ec7f04 (patch)
treefe7a571a7f6dfc24bacd1c52287f5d30cd84ff40 /xmlhelp
parent37b1a1c3c5aa6b54892c4ab5f73d0c606df20083 (diff)
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).
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/qe/XmlIndex.cxx9
1 files changed, 5 insertions, 4 deletions
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& )
{
}
}