diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-30 15:28:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-30 19:00:57 +0200 |
commit | 7183b3ba237dc7718501acb512d5ae1c5d0d5f6b (patch) | |
tree | ea8b5535f6dbed45f54fa27c8dd492a327644626 /include/svl | |
parent | b1f085d66c1d354485edec527fda6abf539af325 (diff) |
loplugin:constmethod handle more cases
remove some of the naming limitations, and handle pointer parameters
better.
I only let the plugin run up till vcl/
Change-Id: Ice916e0157031ab531c47f10778f406b07966251
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122892
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/inethist.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svl/inethist.hxx b/include/svl/inethist.hxx index 21f7b6e2f940..92bbca72b09f 100644 --- a/include/svl/inethist.hxx +++ b/include/svl/inethist.hxx @@ -42,7 +42,7 @@ class SVL_DLLPUBLIC INetURLHistory final : public SfxBroadcaster SAL_DLLPRIVATE static void NormalizeUrl_Impl (INetURLObject &rUrl); void PutUrl_Impl (const INetURLObject &rUrl); - bool QueryUrl_Impl (const INetURLObject &rUrl); + bool QueryUrl_Impl (const INetURLObject &rUrl) const; /** Not implemented. */ @@ -66,7 +66,7 @@ public: /** QueryUrl. */ - bool QueryUrl (const INetURLObject &rUrl) + bool QueryUrl (const INetURLObject &rUrl) const { if (QueryProtocol (rUrl.GetProtocol())) return QueryUrl_Impl (rUrl); @@ -74,7 +74,7 @@ public: return false; } - bool QueryUrl (const OUString &rUrl) + bool QueryUrl (const OUString &rUrl) const { INetProtocol eProto = INetURLObject::CompareProtocolScheme (rUrl); |