Kaydet (Commit) 1028e519 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More ctor check fixes

Change-Id: Ifcce63b975fb7c4ac7e7545e3eadcc6f7f12e466
üst a4d5d69e
......@@ -28,8 +28,11 @@ Expr const * stripCtor(Expr const * expr) {
return expr;
}
auto qt = loplugin::DeclCheck(e3->getConstructor());
if (!qt.Function("OString").Class("OString").Namespace("rtl").GlobalNamespace() &&
!qt.Function("OUString").Class("OUString").Namespace("rtl").GlobalNamespace()) {
if (!((qt.MemberFunction().Class("OString").Namespace("rtl")
.GlobalNamespace())
|| (qt.MemberFunction().Class("OUString").Namespace("rtl")
.GlobalNamespace())))
{
return expr;
}
if (e3->getNumArgs() != 2) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment