diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 16:13:08 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 16:13:08 +0000 |
commit | 42b086698b6d7609f41318f6af8ff2ac84d70385 (patch) | |
tree | eb6f29a5666f29efff1d89bfb45cf3016004a798 /xmlhelp | |
parent | f710961a676fcb5356b1246356339d3b81ffae6a (diff) |
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.
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/qe/DocGenerator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlhelp/source/cxxhelp/qe/DocGenerator.cxx b/xmlhelp/source/cxxhelp/qe/DocGenerator.cxx index b8f7d1acad0d..42e82c74355b 100644 --- a/xmlhelp/source/cxxhelp/qe/DocGenerator.cxx +++ b/xmlhelp/source/cxxhelp/qe/DocGenerator.cxx @@ -4,9 +4,9 @@ * * $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 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 ) { - RoleFiller* rf; - if( rf = place[ query ] ) + RoleFiller* rf = place[ query ]; + if( rf ) { place[ query ] = this; // put at the head of list next_ = rf; |