summaryrefslogtreecommitdiffstats
path: root/include/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 12:30:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-29 12:43:37 +0200
commit1820fcbbc38e82daf43ebe759200050ce05b3fe1 (patch)
treef5a494e6a437971ef7b9ae003547d4b156bb8b13 /include/dbaccess
parentFix typo (diff)
downloadcore-1820fcbbc38e82daf43ebe759200050ce05b3fe1.tar.gz
core-1820fcbbc38e82daf43ebe759200050ce05b3fe1.zip
constmethod for accessor-type methods
Apply the constmethod plugin, but only to accessor-type methods, e.g. IsFoo(), GetBar(), etc, where we can be sure of that constifying is a reasonable thing to do. Change-Id: Ibc97f5f359a0992dd1ce2d66f0189f8a0a43d98a Reviewed-on: https://gerrit.libreoffice.org/74269 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/dbaccess')
-rw-r--r--include/dbaccess/dataview.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dbaccess/dataview.hxx b/include/dbaccess/dataview.hxx
index 53d6b490acd9..a8da6376da91 100644
--- a/include/dbaccess/dataview.hxx
+++ b/include/dbaccess/dataview.hxx
@@ -74,7 +74,7 @@ namespace dbaui
IController& getCommandController() const { return *m_xController.get(); }
- const css::uno::Reference< css::uno::XComponentContext >& getORB() { return m_xContext;}
+ const css::uno::Reference< css::uno::XComponentContext >& getORB() const { return m_xContext;}
// the default implementation simply calls resizeAll( GetSizePixel() )
virtual void Resize() override;