summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-25 13:31:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-26 10:15:00 +0200
commitbdc8fda4be875ff9cfa9c3f4b5e40284a8637374 (patch)
tree67eb55dcd1e9649e074e49ca0dd069920a2ae866 /sc/source/ui/view/cellsh2.cxx
parentb11268fadf76618ad37d27219b7f51255f8f8b5a (diff)
loplugin:constmethod in sc
Change-Id: I78c4fb4acf21756f91582caee5e30e3ad1fc2ae4 Reviewed-on: https://gerrit.libreoffice.org/79543 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r--sc/source/ui/view/cellsh2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index 5bcdcd0c4d94..d7f88f710513 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -213,7 +213,7 @@ namespace
{
std::shared_ptr<SfxDialogController> m_xDlg;
public:
- ScValidationRegisteredDlg(weld::Window* pParent, std::shared_ptr<SfxDialogController>& rDlg)
+ ScValidationRegisteredDlg(weld::Window* pParent, const std::shared_ptr<SfxDialogController>& rDlg)
: m_xDlg(rDlg)
{
SC_MOD()->RegisterRefController(static_cast<sal_uInt16>(ScValidationDlg::SLOTID), m_xDlg, pParent);