[Libreoffice-commits] .: sw/source

Julien Nabet serval2412 at kemper.freedesktop.org
Mon Jan 23 12:48:53 PST 2012


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

New commits:
commit d61d3f26c5d7e1bcd1440c1891afd19c825ce056
Author: Julien Nabet <serval2412 at 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);
                     }
                 }
             }


More information about the Libreoffice-commits mailing list