From f43304078483ec12b4433bc280b623529bf80591 Mon Sep 17 00:00:00 2001 From: Joseph Powers Date: Sun, 21 Aug 2011 07:46:06 -0700 Subject: Rename List -> OStringList I also renamed the varable from list to stringlist. --- codemaker/source/codemaker/exceptiontree.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'codemaker') 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; } -- cgit