From 8da3218881e6497fdd9949c3dbe8fc8e5b756e7c Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Mon, 19 Jun 2006 23:38:05 +0000 Subject: INTEGRATION: CWS warnings01 (1.12.18); FILE MERGED 2005/12/15 16:36:41 ab 1.12.18.1: #i53898# Removed warnings for unxlngi6/unxlngi6.pro --- xmlhelp/source/cxxhelp/db/BtreeDict.cxx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'xmlhelp') diff --git a/xmlhelp/source/cxxhelp/db/BtreeDict.cxx b/xmlhelp/source/cxxhelp/db/BtreeDict.cxx index bc58c3d8bcf9..166a4dc4982a 100644 --- a/xmlhelp/source/cxxhelp/db/BtreeDict.cxx +++ b/xmlhelp/source/cxxhelp/db/BtreeDict.cxx @@ -4,9 +4,9 @@ * * $RCSfile: BtreeDict.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: rt $ $Date: 2005-09-09 12:17:11 $ + * last change: $Author: hr $ $Date: 2006-06-20 00:38:05 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -37,9 +37,6 @@ #include #define INCLUDED_STL_VECTOR #endif -#ifndef _RTL_USTRING_HXX_ -#include -#endif #ifndef _XMLSEARCH_DB_BTREEDICT_HXX_ #include #endif @@ -387,9 +384,9 @@ void BlockProcessorImpl::process( Block* block ) const BtreeDict::BtreeDict( const util::IndexAccessor& indexAccessor ) throw( IOException ) - : blocksL_( 0 ), - blocks_( 0 ), - blockManager_( new DBEnvImpl( indexAccessor ) ) // may throw IOExcption + : blockManager_( new DBEnvImpl( indexAccessor ) ), // may throw IOExcption + blocksL_( 0 ), + blocks_( 0 ) { RandomAccessStream* SCHEMA = indexAccessor.getStream( rtl::OUString::createFromAscii( "SCHEMA" ), @@ -642,6 +639,7 @@ void DBEnvImpl::read( sal_Int32 blNum,xmlsearch::db::Block*& block ) const void DBEnvImpl::write( sal_Int32 blNum,xmlsearch::db::Block* block ) { + (void)blNum; if( ! block ) return; } -- cgit