INTEGRATION: CWS warnings01 (1.7.30); FILE MERGED

2005/09/23 00:03:28 sb 1.7.30.3: RESYNC: (1.7-1.8); FILE MERGED
2005/08/29 16:43:44 sb 1.7.30.2: #i53898# Fixed previous modification.
2005/08/29 14:14:22 sb 1.7.30.1: #i53898# Made code warning-free.
This commit is contained in:
Jens-Heiner Rechtien 2006-06-20 02:46:53 +00:00
parent c96f0fe87f
commit 5aba13fc40

View file

@ -4,9 +4,9 @@
* *
* $RCSfile: astdeclaration.cxx,v $ * $RCSfile: astdeclaration.cxx,v $
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* last change: $Author: rt $ $Date: 2005-09-07 18:06:17 $ * last change: $Author: hr $ $Date: 2006-06-20 03:46:53 $
* *
* 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.
@ -63,11 +63,11 @@ static OString convertName(const OString& name)
} }
AstDeclaration::AstDeclaration(NodeType type, const OString& name, AstScope* pScope) AstDeclaration::AstDeclaration(NodeType type, const OString& name, AstScope* pScope)
: m_nodeType(type) : m_localName(name)
, m_localName(name)
, m_pScope(pScope) , m_pScope(pScope)
, m_bIsAdded(sal_False) , m_nodeType(type)
, m_bImported(sal_False) , m_bImported(sal_False)
, m_bIsAdded(sal_False)
, m_bInMainFile(sal_False) , m_bInMainFile(sal_False)
{ {
if ( m_pScope ) if ( m_pScope )
@ -197,6 +197,9 @@ sal_Bool AstDeclaration::dump(RegistryKey& rKey)
case NT_service: case NT_service:
case NT_singleton: case NT_singleton:
bRet = pDecl->dump(rKey); bRet = pDecl->dump(rKey);
break;
default:
break;
} }
} }
++iter; ++iter;