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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user