diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-06 13:09:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-06 18:35:45 +0200 |
commit | 2ac309188820036b1b99f983e8b793445e9b2ab2 (patch) | |
tree | 80db2a9f7f7726cb015f48f57e1cac8a77b01c58 /dbaccess/source/ui/inc/unodatbr.hxx | |
parent | 698e5d54182d96a1fd0c3b864ba0e618f82dd1f1 (diff) |
loplugin:const* make some params and methods const
Change-Id: Idec482c21c270912f9bcaeb980077c1616f67c8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104022
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/inc/unodatbr.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/unodatbr.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx index ed035d068f3f..e147b44b9e02 100644 --- a/dbaccess/source/ui/inc/unodatbr.hxx +++ b/dbaccess/source/ui/inc/unodatbr.hxx @@ -236,9 +236,9 @@ namespace dbaui // returns <TRUE/> if the entry is selected (which means it's part of the selected path) bool isSelected(const weld::TreeIter& rEntry) const; // select the entry (and only the entry, not the whole path) - void select(weld::TreeIter* pEntry, bool bSelect); + void select(const weld::TreeIter* pEntry, bool bSelect); // select the path of the entry (which must be an entry without children) - void selectPath(weld::TreeIter* pEntry, bool bSelect = true); + void selectPath(const weld::TreeIter* pEntry, bool bSelect = true); virtual void loadMenu(const css::uno::Reference< css::frame::XFrame >& _xFrame) override; @@ -282,7 +282,7 @@ namespace dbaui void unloadAndCleanup( bool _bDisposeConnection = true ); // disposes the connection associated with the given entry (which must represent a data source) - void disposeConnection(weld::TreeIter* xpDSEntry); + void disposeConnection(const weld::TreeIter* xpDSEntry); /// flushes and disposes the given connection, and de-registers as listener void impl_releaseConnection( SharedConnection& _rxConnection ); @@ -337,7 +337,7 @@ namespace dbaui void implRemoveStatusListeners(); bool implSelect(const svx::ODataAccessDescriptor& _rDescriptor, bool _bSelectDirect = false); - bool implSelect(weld::TreeIter* pEntry); + bool implSelect(const weld::TreeIter* pEntry); /// selects the entry given and loads the grid control with the object's data bool implSelect( @@ -417,7 +417,7 @@ namespace dbaui bool isEntryCopyAllowed(const weld::TreeIter& rEntry) const; - void copyEntry(weld::TreeIter& rEntry); + void copyEntry(const weld::TreeIter& rEntry); // remove all grid columns and dispose them static void clearGridColumns(const css::uno::Reference< css::container::XNameContainer >& _xColContainer); |