summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/sfxpoolitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/sfxpoolitem.cxx')
-rw-r--r--compilerplugins/clang/sfxpoolitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/sfxpoolitem.cxx b/compilerplugins/clang/sfxpoolitem.cxx
index 801689f0f3de..79ef64dd243e 100644
--- a/compilerplugins/clang/sfxpoolitem.cxx
+++ b/compilerplugins/clang/sfxpoolitem.cxx
@@ -93,7 +93,7 @@ bool SfxPoolItem::VisitCXXRecordDecl(const CXXRecordDecl* decl)
if (ignoreLocation(decl)) {
return true;
}
- if (!decl->hasDefinition()) {
+ if (!decl->isThisDeclarationADefinition()) {
return true;
}
// check if this class is derived from Window