diff options
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; |