diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-19 12:44:38 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-19 12:44:38 +0000 |
commit | 6cd81b442fc548fb28da64ab2d15ea1c104c3696 (patch) | |
tree | 47107c39d7279d93f5ee360daecf0bd375ea3087 /idlc/inc | |
parent | cbe41b912283fc8784a54dbf6d723e15fd015cef (diff) |
INTEGRATION: CWS sb49 (1.4.20); FILE MERGED
2006/03/15 16:21:31 sb 1.4.20.1: #i62098# Added check that no two service ctors have the same signature; along the way, added some helper functions and some missing const qualifiers.
Diffstat (limited to 'idlc/inc')
-rw-r--r-- | idlc/inc/idlc/astscope.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/idlc/inc/idlc/astscope.hxx b/idlc/inc/idlc/astscope.hxx index 01fa23ef8e1f..a2a83c674ec7 100644 --- a/idlc/inc/idlc/astscope.hxx +++ b/idlc/inc/idlc/astscope.hxx @@ -4,9 +4,9 @@ * * $RCSfile: astscope.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-07 18:00:02 $ + * last change: $Author: hr $ $Date: 2006-04-19 13:44:38 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -58,7 +58,7 @@ public: virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl); - sal_uInt32 nMembers() + sal_uInt32 nMembers() const { return (sal_uInt32)(m_declarations.size()); } DeclList::const_iterator getIteratorBegin() const { return m_declarations.begin(); } @@ -79,6 +79,10 @@ public: AstDeclaration* lookupForAdd(AstDeclaration* pDecl); +protected: + inline AstDeclaration const * getLast() const + { return m_declarations.back(); } + private: DeclList m_declarations; const NodeType m_nodeType; |