diff --git a/src/Gui/ExpressionCompleter.cpp b/src/Gui/ExpressionCompleter.cpp index 7f026792f2..16f82ddb62 100644 --- a/src/Gui/ExpressionCompleter.cpp +++ b/src/Gui/ExpressionCompleter.cpp @@ -288,9 +288,11 @@ public: // Store named object property list in cache for performance purposes, // to avoid building it again for each requested index - std::vector>& getCachedPropertyNamedList(DocumentObject* obj) const { - if (!this->namedPropsCache.contains(obj)) - { + std::vector>& getCachedPropertyNamedList( + DocumentObject* obj + ) const + { + if (!this->namedPropsCache.contains(obj)) { this->namedPropsCache[obj]; obj->getPropertyNamedList(this->namedPropsCache[obj]); }