Change-Id: I925942a89d7f01c008788aeada8009a37564b02f
Reviewed-on: https://gerrit.libreoffice.org/70971
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2019-04-10 16:05:28 +00:00
committed by Julien Nabet
parent 7031e34523
commit a7ecf4545a

View File

@@ -292,7 +292,7 @@ void VCLWidgets::checkAssignmentForVclPtrToRawConversion(const SourceLocation& s
// if we have T* on the LHS and VclPtr<T> on the RHS, we expect to see either
// an ImplicitCastExpr
// or a ExprWithCleanups and then an ImplicitCastExpr
// or an ExprWithCleanups and then an ImplicitCastExpr
if (auto implicitCastExpr = dyn_cast<ImplicitCastExpr>(rhs)) {
if (implicitCastExpr->getCastKind() != CK_UserDefinedConversion) {
return;