INTEGRATION: CWS warningfixes02 (1.7.2); FILE MERGED

2006/06/30 12:30:30 sb 1.7.2.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
This commit is contained in:
Kurt Zenker
2006-07-19 16:13:08 +00:00
parent f710961a67
commit 42b086698b

View File

@@ -4,9 +4,9 @@
* *
* $RCSfile: DocGenerator.cxx,v $ * $RCSfile: DocGenerator.cxx,v $
* *
* $Revision: 1.7 $ * $Revision: 1.8 $
* *
* last change: $Author: hr $ $Date: 2006-06-20 00:41:11 $ * last change: $Author: kz $ $Date: 2006-07-19 17:13:08 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@@ -168,8 +168,8 @@ sal_Int32 RoleFiller::getConcept()
void RoleFiller::use( std::vector< RoleFiller*>& place,sal_Int32 query ) void RoleFiller::use( std::vector< RoleFiller*>& place,sal_Int32 query )
{ {
RoleFiller* rf; RoleFiller* rf = place[ query ];
if( rf = place[ query ] ) if( rf )
{ {
place[ query ] = this; // put at the head of list place[ query ] = this; // put at the head of list
next_ = rf; next_ = rf;