summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-12 10:53:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-12 10:53:18 +0000
commitf8b80701e0dea65349aab90ed96afa184b51ae22 (patch)
treefaded352d909ce537bfd9eb65c1974557ff8d6c2 /basctl
parentd8a9c74f41355362997c7f8b58942936a4a6d262 (diff)
these can all be made const
Change-Id: I6a8af82e8612196f20143f4997eb95c80a2ca13d
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.hxx2
-rw-r--r--basctl/source/basicide/baside2b.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index 224782089129..9bfcd0388d75 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -157,7 +157,7 @@ public:
void UpdateSyntaxHighlighting ();
- bool GetProcedureName(OUString& rLine, OUString& rProcType, OUString& rProcName);
+ bool GetProcedureName(OUString& rLine, OUString& rProcType, OUString& rProcName) const;
};
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 0aadfead07f9..60fa48ad46dc 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -789,7 +789,7 @@ void EditorWindow::HandleProcedureCompletion()
}
}
-bool EditorWindow::GetProcedureName(OUString& rLine, OUString& rProcType, OUString& rProcName)
+bool EditorWindow::GetProcedureName(OUString& rLine, OUString& rProcType, OUString& rProcName) const
{
std::vector<HighlightPortion> aPortions;
aHighlighter.getHighlightPortions(rLine, aPortions);