summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-21 20:21:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-22 09:35:02 +0200
commitb1dc8e2379b53c3d57283d43655cf4d51d586ec0 (patch)
tree06c46265e3bd17f8d1af0e9551b05bf6e22891a7 /include
parent7a769391772b1184d801a123fb226017e8d65848 (diff)
loplugin:constmethod in connectivity
Change-Id: Idd81089279b23d93276107d84446c77e49d42b77 Reviewed-on: https://gerrit.libreoffice.org/77933 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/connectivity/paramwrapper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/connectivity/paramwrapper.hxx b/include/connectivity/paramwrapper.hxx
index 493475baee55..e6b27852e69b 100644
--- a/include/connectivity/paramwrapper.hxx
+++ b/include/connectivity/paramwrapper.hxx
@@ -164,7 +164,7 @@ namespace param
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 _rIndex) override;
public:
- const Parameters& getParameters() { return m_aParameters; }
+ const Parameters& getParameters() const { return m_aParameters; }
const ::connectivity::ORowSetValue& operator[]( size_t _index ) const { return m_aParameters[ _index ]->Value(); }
::connectivity::ORowSetValue& operator[]( size_t _index ) { return m_aParameters[ _index ]->Value(); }