summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-01-23 21:46:56 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-01-23 21:48:27 +0100
commitd61d3f26c5d7e1bcd1440c1891afd19c825ce056 (patch)
tree0fd63524a077568e8c828064b7135cc2189d0190 /sw
parent6a28de4944a9c40be901f2356e7c295e184c5c95 (diff)
Useless "if else" since we do the same in both cases
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dbui/dbtree.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/dbtree.cxx b/sw/source/ui/dbui/dbtree.cxx
index 1ba0c189ea5e..a79a7520a8ed 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);
}
}
}