From 2dca1ffc3954c6d397d9fc194c561858ac80fe09 Mon Sep 17 00:00:00 2001 From: Eivind Kvedalen Date: Tue, 16 Feb 2016 00:58:23 +0100 Subject: [PATCH] PropertyExpressionEngine: Fixed warning. --- src/App/PropertyExpressionEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);