compilerplugins/clang/stringconstant.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 836b74aead22c7013cd18f52224f19f5af179810
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Wed Feb 1 15:31:04 2017 +0100

    Fix ctor check
    
    Change-Id: Ie261d5412c510c045b4d93a6bf1a3d4cf4371897

diff --git a/compilerplugins/clang/stringconstant.cxx 
b/compilerplugins/clang/stringconstant.cxx
index 426f8bd..b80701c 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;
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to