From 5aba13fc407fdd83ba4b04525d7d8037e36a117b Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Tue, 20 Jun 2006 02:46:53 +0000
Subject: [PATCH] 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.
---
idlc/source/astdeclaration.cxx | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/idlc/source/astdeclaration.cxx b/idlc/source/astdeclaration.cxx
index 6b205769f806..519bfbf46e6d 100644
--- a/idlc/source/astdeclaration.cxx
+++ b/idlc/source/astdeclaration.cxx
@@ -4,9 +4,9 @@
*
* $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 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)
- : m_nodeType(type)
- , m_localName(name)
+ : m_localName(name)
, m_pScope(pScope)
- , m_bIsAdded(sal_False)
+ , m_nodeType(type)
, m_bImported(sal_False)
+ , m_bIsAdded(sal_False)
, m_bInMainFile(sal_False)
{
if ( m_pScope )
@@ -197,6 +197,9 @@ sal_Bool AstDeclaration::dump(RegistryKey& rKey)
case NT_service:
case NT_singleton:
bRet = pDecl->dump(rKey);
+ break;
+ default:
+ break;
}
}
++iter;