summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-08-21 07:46:06 -0700
committerJoseph Powers <jpowers27@cox.net>2011-08-21 07:46:06 -0700
commitf43304078483ec12b4433bc280b623529bf80591 (patch)
tree8a6b635b4660cd839235299e9803cc105ba62906 /codemaker
parent25ad04f7183052fc1d2e8750ced06fd41a982139 (diff)
Rename List -> OStringList
I also renamed the varable from list to stringlist.
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/codemaker/exceptiontree.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/codemaker/source/codemaker/exceptiontree.cxx b/codemaker/source/codemaker/exceptiontree.cxx
index e54483d39561..e57d5651ef40 100644
--- a/codemaker/source/codemaker/exceptiontree.cxx
+++ b/codemaker/source/codemaker/exceptiontree.cxx
@@ -61,15 +61,15 @@ void ExceptionTreeNode::clearChildren() {
void ExceptionTree::add(rtl::OString const & name, TypeManager const & manager)
throw( CannotDumpException )
{
- typedef std::vector< rtl::OString > List;
- List list;
+ typedef std::vector< rtl::OString > OStringList;
+ OStringList stringlist;
bool runtimeException = false;
for (rtl::OString n(name); n != "com/sun/star/uno/Exception";) {
if (n == "com/sun/star/uno/RuntimeException") {
runtimeException = true;
break;
}
- list.push_back(n);
+ stringlist.push_back(n);
typereg::Reader reader(manager.getTypeReader(n));
if (!reader.isValid())
throw CannotDumpException(
@@ -84,8 +84,8 @@ void ExceptionTree::add(rtl::OString const & name, TypeManager const & manager)
}
if (!runtimeException) {
ExceptionTreeNode * node = &m_root;
- for (List::reverse_iterator i(list.rbegin()); !node->present; ++i) {
- if (i == list.rend()) {
+ for (OStringList::reverse_iterator i(stringlist.rbegin()); !node->present; ++i) {
+ if (i == stringlist.rend()) {
node->setPresent();
break;
}