summaryrefslogtreecommitdiff
path: root/idlc/source/astenum.cxx
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2001-04-11 06:29:27 +0000
committerJuergen Schmidt <jsc@openoffice.org>2001-04-11 06:29:27 +0000
commit3116185ab01a9ad2fed347f90a1f7c58aab3445d (patch)
tree67c89ecdb7bc3b7549977410aa33ae935736eeb2 /idlc/source/astenum.cxx
parent093e18e9e0356f69d8a9dcaa5caf2624f2c610ec (diff)
performance optimization, stl iterators
Diffstat (limited to 'idlc/source/astenum.cxx')
-rw-r--r--idlc/source/astenum.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx
index ea9365d5c4cd..6475400dc944 100644
--- a/idlc/source/astenum.cxx
+++ b/idlc/source/astenum.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: astenum.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: jsc $ $Date: 2001-03-15 12:30:43 $
+ * 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
@@ -90,7 +90,7 @@ AstConstant* AstEnum::checkValue(AstExpression* pExpr)
if (pConst->getConstValue()->compare(pExpr))
return pConst;
- iter++;
+ ++iter;
}
if ( pExpr->getExprValue()->u.lval > m_enumValueCount )
@@ -131,7 +131,7 @@ sal_Bool AstEnum::dump(RegistryKey& rKey, RegistryTypeWriterLoader* pLoader)
if ( pDecl->getNodeType() == NT_enum_val )
((AstConstant*)pDecl)->dumpBlob(aBlob, index++);
- iter++;
+ ++iter;
}
const sal_uInt8* pBlob = aBlob.getBlop();