summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dbui/dbtree.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-20 13:54:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 12:09:00 +0200
commit4732e65646016087d772adb3a0b55c166b35356d (patch)
tree76285ed978ddce19355fe993391172aeb575d69b /sw/source/uibase/dbui/dbtree.cxx
parentb6e32d53ce9c98bfba517c40f53d40e97a091b0e (diff)
loplugin:unusedfields in sw
Change-Id: Iad2bddb2359af3e7da40175d17d2d3ed7eda5be6 Reviewed-on: https://gerrit.libreoffice.org/40229 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/dbui/dbtree.cxx')
-rw-r--r--sw/source/uibase/dbui/dbtree.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/uibase/dbui/dbtree.cxx b/sw/source/uibase/dbui/dbtree.cxx
index eab3e01ed5d9..c0a3176855d7 100644
--- a/sw/source/uibase/dbui/dbtree.cxx
+++ b/sw/source/uibase/dbui/dbtree.cxx
@@ -198,10 +198,7 @@ void SwDBTreeList::InitTreeList()
OUString sDBName(pDBNames[i]);
InsertEntry(sDBName, aImg, aImg, nullptr, true);
}
- OUString sDBName(sDefDBName.getToken(0, DB_DELIM));
- OUString sTableName(sDefDBName.getToken(1, DB_DELIM));
- OUString sColumnName(sDefDBName.getToken(2, DB_DELIM));
- Select(sDBName, sTableName, sColumnName);
+ Select(OUString(), OUString(), OUString());
bInitialized = true;
}