diff options
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/stringconstant.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compilerplugins/clang/stringconstant.cxx b/compilerplugins/clang/stringconstant.cxx index 426f8bd2c244..b80701c41b8b 100644 --- a/compilerplugins/clang/stringconstant.cxx +++ b/compilerplugins/clang/stringconstant.cxx @@ -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; } |