diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 10:01:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 11:28:41 +0200 |
commit | 6c6c1eea82b259c7aec1e0ed5ff86bfd2eb0243f (patch) | |
tree | 87e8ccbbfc4d369e079098eb8be09abf988f1c44 /sw/source/uibase/dbui | |
parent | fc79f23922ccae8b494b31a5dd7bb4767e50c87e (diff) |
loplugin:constmethod in sw
Change-Id: I73c3c6d2165287d2d581a04b23b1d3b48166a488
Reviewed-on: https://gerrit.libreoffice.org/79780
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/dbui')
-rw-r--r-- | sw/source/uibase/dbui/dbtree.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/dbui/mmconfigitem.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/dbui/dbtree.cxx b/sw/source/uibase/dbui/dbtree.cxx index afbb49f38f61..eea90633e048 100644 --- a/sw/source/uibase/dbui/dbtree.cxx +++ b/sw/source/uibase/dbui/dbtree.cxx @@ -393,7 +393,7 @@ void SwDBTreeList::SetWrtShell(SwWrtShell& rSh) namespace { - void GotoRootLevelParent(weld::TreeView& rTreeView, weld::TreeIter& rEntry) + void GotoRootLevelParent(const weld::TreeView& rTreeView, weld::TreeIter& rEntry) { while (rTreeView.get_iter_depth(rEntry)) rTreeView.iter_parent(rEntry); diff --git a/sw/source/uibase/dbui/mmconfigitem.cxx b/sw/source/uibase/dbui/mmconfigitem.cxx index 316002aedf85..65625e3fdc9c 100644 --- a/sw/source/uibase/dbui/mmconfigitem.cxx +++ b/sw/source/uibase/dbui/mmconfigitem.cxx @@ -801,12 +801,12 @@ void SwMailMergeConfigItem::SetCurrentConnection( m_pImpl->SetModified(); } -Reference< XDataSource> const & SwMailMergeConfigItem::GetSource() +Reference< XDataSource> const & SwMailMergeConfigItem::GetSource() const { return m_pImpl->m_xSource; } -SharedConnection const & SwMailMergeConfigItem::GetConnection() +SharedConnection const & SwMailMergeConfigItem::GetConnection() const { return m_pImpl->m_xConnection; } |