diff options
author | Juergen Schmidt <jsc@openoffice.org> | 2001-04-11 06:29:27 +0000 |
---|---|---|
committer | Juergen Schmidt <jsc@openoffice.org> | 2001-04-11 06:29:27 +0000 |
commit | 3116185ab01a9ad2fed347f90a1f7c58aab3445d (patch) | |
tree | 67c89ecdb7bc3b7549977410aa33ae935736eeb2 /idlc/source/astscope.cxx | |
parent | 093e18e9e0356f69d8a9dcaa5caf2624f2c610ec (diff) |
performance optimization, stl iterators
Diffstat (limited to 'idlc/source/astscope.cxx')
-rw-r--r-- | idlc/source/astscope.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/idlc/source/astscope.cxx b/idlc/source/astscope.cxx index 6a65a19549a3..01f40629a32f 100644 --- a/idlc/source/astscope.cxx +++ b/idlc/source/astscope.cxx @@ -2,9 +2,9 @@ * * $RCSfile: astscope.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jsc $ $Date: 2001-04-10 09:20:03 $ + * last change: $Author: jsc $ $Date: 2001-04-11 07:24:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -143,7 +143,7 @@ sal_uInt16 AstScope::getNodeCount(NodeType nodeType) pDecl = *iter; if ( pDecl->getNodeType() == nodeType ) count++; - iter++; + ++iter; } return count; } @@ -242,7 +242,7 @@ AstDeclaration* AstScope::lookupByNameLocal(const OString& name) pDecl = *iter; if ( pDecl->getLocalName() == name ) return pDecl; - iter++; + ++iter; } return NULL; } @@ -272,7 +272,7 @@ AstDeclaration* AstScope::lookupInInherited(const OString& scopedName) pDecl = ((AstInterface*)(*iter))->lookupByName(scopedName); if ( pDecl ) return pDecl; - iter++; + ++iter; } } // Not found @@ -298,7 +298,7 @@ AstDeclaration* AstScope::lookupInForwarded(const OString& scopedName) } break; } - iter++; + ++iter; } return NULL; } |