[Libreoffice-commits] .: codemaker/source

Joseph Powers jpowers at kemper.freedesktop.org
Sun Aug 21 07:46:20 PDT 2011


 codemaker/source/codemaker/exceptiontree.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit f43304078483ec12b4433bc280b623529bf80591
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Sun Aug 21 07:46:06 2011 -0700

    Rename List -> OStringList
    
    I also renamed the varable from list to stringlist.

diff --git a/codemaker/source/codemaker/exceptiontree.cxx b/codemaker/source/codemaker/exceptiontree.cxx
index e54483d..e57d565 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;
             }


More information about the Libreoffice-commits mailing list