diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-07-31 15:02:36 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-07-31 15:02:36 +0000 |
commit | 6b828034bd8f2033013ebd3469359bfeafb49307 (patch) | |
tree | 09c31ae0a9cc1fcf5f9b2e734eecd940a4afc066 /rsc | |
parent | 29c261b83e5ad2dacf37bbdbefd344ca5bea35ef (diff) |
INTEGRATION: CWS vcl80 (1.7.30); FILE MERGED
2007/07/10 09:38:49 pl 1.7.30.1: #i79411# coverity warnings (thanks cmc)
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/res/rscmgr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rsc/source/res/rscmgr.cxx b/rsc/source/res/rscmgr.cxx index 75e96afd8231..b7e013c9d2fd 100644 --- a/rsc/source/res/rscmgr.cxx +++ b/rsc/source/res/rscmgr.cxx @@ -4,9 +4,9 @@ * * $RCSfile: rscmgr.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: obo $ $Date: 2006-09-17 16:02:35 $ + * last change: $Author: hr $ $Date: 2007-07-31 16:02:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -445,7 +445,7 @@ ERRTYPE RscMgr::WriteHxxHeader( const RSCINST & rInst, FILE * fOutput, aError = aRefI.pClass->WriteHxxHeader( aRefI, fOutput, pTC, rId ); } - else + else if (pTC) { fprintf( fOutput, "class %s", MakeName( pTC, rInst.pClass, @@ -533,7 +533,7 @@ ERRTYPE RscMgr::WriteCxxHeader( const RSCINST & rInst, FILE * fOutput, aError = aRefI.pClass->WriteCxxHeader( aRefI, fOutput, pTC, rId ); } - else + else if (pTC) { fprintf( fOutput, "%s::%s", MakeName( pTC, rInst.pClass, rId.GetName() ).GetBuffer(), |