summaryrefslogtreecommitdiffstats
path: root/idlc/source/astunion.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/astunion.cxx
parentAdded new dependencies (diff)
downloadcore-3116185ab01a9ad2fed347f90a1f7c58aab3445d.tar.gz
core-3116185ab01a9ad2fed347f90a1f7c58aab3445d.zip
performance optimization, stl iterators
Diffstat (limited to 'idlc/source/astunion.cxx')
-rw-r--r--idlc/source/astunion.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/idlc/source/astunion.cxx b/idlc/source/astunion.cxx
index 71286353d20a..eb9ffd7801a4 100644
--- a/idlc/source/astunion.cxx
+++ b/idlc/source/astunion.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: astunion.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
@@ -181,7 +181,7 @@ AstUnionBranch* AstUnion::lookupDefault(sal_Bool bReportError)
pBranch = (AstUnionBranch*)pDecl;
if (pBranch == NULL)
{
- iter++;
+ ++iter;
continue;
}
if ( pBranch->getLabel() != NULL &&
@@ -192,7 +192,7 @@ AstUnionBranch* AstUnion::lookupDefault(sal_Bool bReportError)
return pBranch;
}
}
- iter++;
+ ++iter;
}
return NULL;
}
@@ -227,7 +227,7 @@ AstUnionBranch* AstUnion::lookupLabel(AstUnionBranch* pBranch)
pB = (AstUnionBranch*)pDecl;
if ( !pB )
{
- iter++;
+ ++iter;
continue;
}
if ( pB->getLabel() != NULL &&
@@ -238,7 +238,7 @@ AstUnionBranch* AstUnion::lookupLabel(AstUnionBranch* pBranch)
return pBranch;
}
}
- iter++;
+ ++iter;
}
return NULL;
}
@@ -288,7 +288,7 @@ AstUnionBranch* AstUnion::lookupEnum(AstUnionBranch* pBranch)
pB = (AstUnionBranch*)pDecl;
if ( !pB )
{
- iter++;
+ ++iter;
continue;
}
if ( pB->getLabel() != NULL &&
@@ -299,7 +299,7 @@ AstUnionBranch* AstUnion::lookupEnum(AstUnionBranch* pBranch)
return pBranch;
}
}
- iter++;
+ ++iter;
}
return NULL;
}
@@ -350,7 +350,7 @@ sal_Bool AstUnion::dump(RegistryKey& rKey, RegistryTypeWriterLoader* pLoader)
pBranch = (AstUnionBranch*)pDecl;
if (pBranch == pDefault)
{
- iter++;
+ ++iter;
continue;
}
@@ -366,7 +366,7 @@ sal_Bool AstUnion::dump(RegistryKey& rKey, RegistryTypeWriterLoader* pLoader)
OStringToOUString(pBranch->getType()->getRelativName(), RTL_TEXTENCODING_UTF8),
pBranch->getDocumentation(), OUString(), RT_ACCESS_READWRITE, aConst);
}
- iter++;
+ ++iter;
}
if ( pDefault )