compilerplugins/clang/salbool.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1b66d0141c68e2fd1100a34274d7e0d292cf26d9
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Nov 8 19:39:25 2019 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Nov 8 21:22:29 2019 +0100

    Use more efficient NamedDecl::getName
    
    Change-Id: I764b254180809c7ee020d5115e4b9e50e0227c09
    Reviewed-on: https://gerrit.libreoffice.org/82321
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/compilerplugins/clang/salbool.cxx 
b/compilerplugins/clang/salbool.cxx
index 3aba59124e2b..fdadfc6b795a 100644
--- a/compilerplugins/clang/salbool.cxx
+++ b/compilerplugins/clang/salbool.cxx
@@ -23,7 +23,7 @@ namespace {
 
 bool isSalBool(QualType type) {
     TypedefType const * t = type->getAs<TypedefType>();
-    return t != nullptr && t->getDecl()->getNameAsString() == "sal_Bool";
+    return t != nullptr && t->getDecl()->getName() == "sal_Bool";
 }
 
 bool isSalBoolArray(QualType type) {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to