diff options
-rw-r--r-- | compilerplugins/clang/salbool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |