summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-20 12:16:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-20 13:41:30 +0200
commit6274fbe13c8fa556916b5aed695c6921ef6ff84f (patch)
tree50b4d8d0ff45e4eb36d8cd1babe47d1ecd559d3e /dbaccess/source
parentdd7caf3cfd3de636c8bf37c8347c1b72b3772aeb (diff)
loplugin:constantparam
Change-Id: I59a37e1d37fa749cba5159daa23fe663bcc55435 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101045 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/app/AppDetailPageHelper.cxx2
-rw-r--r--dbaccess/source/ui/control/tabletree.cxx4
-rw-r--r--dbaccess/source/ui/inc/dbtreelistbox.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
index a1447e2e9c14..8cf955b2a2f0 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
@@ -513,7 +513,7 @@ void OAppDetailPageHelper::createTablesPage(const Reference< XConnection>& _xCon
if ( !m_aLists[E_TABLE] )
{
- m_aLists[E_TABLE].reset(new DBTableTreeView(m_xBox.get(), false)); // false means: do not show any buttons
+ m_aLists[E_TABLE].reset(new DBTableTreeView(m_xBox.get()));
setupTree(*m_aLists[E_TABLE]);
m_aLists[E_TABLE]->GetWidget().set_help_id(HID_APP_TABLE_TREE);
}
diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx
index 9ebfd9c5dc61..b39f6e65319e 100644
--- a/dbaccess/source/ui/control/tabletree.cxx
+++ b/dbaccess/source/ui/control/tabletree.cxx
@@ -701,10 +701,10 @@ TriState OTableTreeListBox::implDetermineState(weld::TreeIter& rEntry)
return eState;
}
-DBTableTreeView::DBTableTreeView(weld::Container* pContainer, bool bShowToggles)
+DBTableTreeView::DBTableTreeView(weld::Container* pContainer)
: DBTreeViewBase(pContainer)
{
- m_xTreeListBox.reset(new OTableTreeListBox(m_xBuilder->weld_tree_view("treeview"), bShowToggles));
+ m_xTreeListBox.reset(new OTableTreeListBox(m_xBuilder->weld_tree_view("treeview"), /*bShowToggles*/false));
}
} // namespace dbaui
diff --git a/dbaccess/source/ui/inc/dbtreelistbox.hxx b/dbaccess/source/ui/inc/dbtreelistbox.hxx
index 17f6cccce9e3..be7dca4874a2 100644
--- a/dbaccess/source/ui/inc/dbtreelistbox.hxx
+++ b/dbaccess/source/ui/inc/dbtreelistbox.hxx
@@ -159,7 +159,7 @@ namespace dbaui
class DBTableTreeView final : public DBTreeViewBase
{
public:
- DBTableTreeView(weld::Container* pContainer, bool bShowToggles);
+ DBTableTreeView(weld::Container* pContainer);
};
}