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>
This commit is contained in:
Noel Grandin
2021-09-30 19:00:57 +02:00
parent b1f085d66c
commit 7183b3ba23
90 changed files with 228 additions and 206 deletions
+2 -2
View File
@@ -245,7 +245,7 @@ class OInstanceProvider
OUString _aInstanceName;
/// @throws Exception
inline Reference< XInterface > createInstance();
inline Reference< XInterface > createInstance() const;
public:
OInstanceProvider( const Reference< XComponentContext > & xContext,
@@ -267,7 +267,7 @@ public:
}
inline Reference< XInterface > OInstanceProvider::createInstance()
inline Reference< XInterface > OInstanceProvider::createInstance() const
{
Reference< XInterface > xRet;
if (!_aImplName.isEmpty()) // manually via loader