From 69b5f0b6579c6574a8fe68ab2a64208ec767db55 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 10 Mar 2022 21:53:47 +0200 Subject: loplugin:constparams Change-Id: I5f184f93dbdb414514855c85c9dc1624e7ec8636 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131337 Tested-by: Jenkins Reviewed-by: Noel Grandin --- dbaccess/source/ui/browser/unodatbr.cxx | 2 +- dbaccess/source/ui/inc/unodatbr.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index 0ea6c5400fb3..af206a1e1c2b 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -2120,7 +2120,7 @@ void SbaTableQueryBrowser::populateTree(const Reference& _xNameAcce rTreeView.make_sorted(); } -std::unique_ptr SbaTableQueryBrowser::implAppendEntry(const weld::TreeIter* pParent, const OUString& rName, DBTreeListUserData* pUserData) +std::unique_ptr SbaTableQueryBrowser::implAppendEntry(const weld::TreeIter* pParent, const OUString& rName, const DBTreeListUserData* pUserData) { EntryType eEntryType = pUserData->eType; diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx index efe4ae51b27c..4bb5c26c74a5 100644 --- a/dbaccess/source/ui/inc/unodatbr.hxx +++ b/dbaccess/source/ui/inc/unodatbr.hxx @@ -356,7 +356,7 @@ namespace dbaui std::unique_ptr implAppendEntry( const weld::TreeIter* pParent, const OUString& rName, - DBTreeListUserData* pUserData); + const DBTreeListUserData* pUserData); /// loads the grid control with the data object specified (which may be a table, a query or a command) bool implLoadAnything(const OUString& _rDataSourceName, const OUString& _rCommand, -- cgit