sw/source/ui/dbui/dbtree.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit d61d3f26c5d7e1bcd1440c1891afd19c825ce056
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Mon Jan 23 21:46:56 2012 +0100

    Useless "if else" since we do the same in both cases

diff --git a/sw/source/ui/dbui/dbtree.cxx b/sw/source/ui/dbui/dbtree.cxx
index 1ba0c18..a79a752 100644
--- a/sw/source/ui/dbui/dbtree.cxx
+++ b/sw/source/ui/dbui/dbtree.cxx
@@ -344,10 +344,7 @@ void  SwDBTreeList::RequestingChildren(SvLBoxEntry* 
pParent)
                     for (long i = 0; i < nCount; i++)
                     {
                         String sName = pColNames[i];
-                        if(bTable)
-                            InsertEntry(sName, pParent);
-                        else
-                            InsertEntry(sName, pParent);
+                        InsertEntry(sName, pParent);
                     }
                 }
             }
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to