Fix ctor check

Change-Id: Ie261d5412c510c045b4d93a6bf1a3d4cf4371897
This commit is contained in:
Stephan Bergmann 2017-02-01 15:31:04 +01:00
parent a0b4f816ce
commit 836b74aead

View File

@ -1626,7 +1626,8 @@ void StringConstant::handleOUStringCtor(
if (e3 == nullptr) {
return;
}
if (!loplugin::DeclCheck(e3->getConstructor()).Function("OUString").Class("OUString").Namespace("rtl").GlobalNamespace())
if (!loplugin::DeclCheck(e3->getConstructor()).MemberFunction()
.Class("OUString").Namespace("rtl").GlobalNamespace())
{
return;
}