fix vclwidget plugin warning message

Change-Id: Iac6450ed3a7742022d97b0121165f992b483eea0
This commit is contained in:
Noel Grandin
2015-06-15 14:10:22 +02:00
parent 86051d87cd
commit 9db80b1499

View File

@@ -183,7 +183,7 @@ bool VCLWidgets::VisitCXXDestructorDecl(const CXXDestructorDecl* pCXXDestructorD
if (foundVclPtrField && pCompoundStatement && pCompoundStatement->size() == 0) {
report(
DiagnosticsEngine::Warning,
"OutputDevice subclass with VclPtr field must call dispose() from its destructor.",
"OutputDevice subclass with VclPtr field must call disposeOnce() from its destructor.",
pCXXDestructorDecl->getLocStart())
<< pCXXDestructorDecl->getSourceRange();
return true;