summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/xmlsource/xmlsourcedlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/xmlsource/xmlsourcedlg.cxx')
-rw-r--r--sc/source/ui/xmlsource/xmlsourcedlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
index b9bc6b9d147b..9ae8dc0cf223 100644
--- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx
+++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
@@ -226,7 +226,7 @@ void ScXMLSourceDlg::LoadSourceFileStructure(const OUString& rPath)
mpXMLContext->loadXMLStructure(*mpLbTree, maXMLParam);
}
-void ScXMLSourceDlg::HandleGetFocus(Control* pCtrl)
+void ScXMLSourceDlg::HandleGetFocus(const Control* pCtrl)
{
mpActiveEdit = nullptr;
if (pCtrl == mpRefEdit || pCtrl == mpRefBtn)
@@ -244,7 +244,7 @@ class UnhighlightEntry
public:
explicit UnhighlightEntry(SvTreeListBox& rTree) : mrTree(rTree) {}
- void operator() (SvTreeListEntry* p)
+ void operator() (const SvTreeListEntry* p)
{
SvViewDataEntry* pView = mrTree.GetViewDataEntry(p);
if (!pView)
@@ -261,7 +261,7 @@ public:
* Otherwise the reference entry equals the current entry. A reference
* entry is the entry that stores mapped cell position.
*/
-SvTreeListEntry* getReferenceEntry(SvTreeListBox& rTree, SvTreeListEntry* pCurEntry)
+SvTreeListEntry* getReferenceEntry(const SvTreeListBox& rTree, SvTreeListEntry* pCurEntry)
{
SvTreeListEntry* pParent = rTree.GetParent(pCurEntry);
SvTreeListEntry* pRefEntry = nullptr;