summaryrefslogtreecommitdiff
path: root/idlc/source/astdeclaration.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:46:53 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:46:53 +0000
commit5aba13fc407fdd83ba4b04525d7d8037e36a117b (patch)
tree1a290be44f99fd03ac74a7f3baa1f0001035916c /idlc/source/astdeclaration.cxx
parentc96f0fe87f0046284d533f9a7d82d8b324172807 (diff)
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.
Diffstat (limited to 'idlc/source/astdeclaration.cxx')
-rw-r--r--idlc/source/astdeclaration.cxx13
1 files 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;