diff --git a/src/App/PropertyExpressionEngine.cpp b/src/App/PropertyExpressionEngine.cpp index bffb862bc..824ef9d32 100644 --- a/src/App/PropertyExpressionEngine.cpp +++ b/src/App/PropertyExpressionEngine.cpp @@ -280,7 +280,7 @@ void PropertyExpressionEngine::slotObjectRenamed(const DocumentObject &obj) RelabelDocumentObjectExpressionVisitor v(*this, obj.getOldLabel(), obj.Label.getStrValue()); for (ExpressionMap::iterator it = expressions.begin(); it != expressions.end(); ++it) { - int changed = v.getChanged(); + bool changed = v.getChanged(); it->second.expression->visit(v);