Salome HOME
Replace error construction with + with using %1 placeholders
[modules/shaper.git] / src / GeomValidators / GeomValidators_ConstructionComposite.cpp
index c748c2cdc18ea11a82e14a9d497619c998facadb..8ae2b2dbf769cc9af7a7b132bd8f2f11feb752e9 100644 (file)
@@ -15,7 +15,8 @@ bool GeomValidators_ConstructionComposite::isValid(const AttributePtr& theAttrib
   bool aValid = true;
   if (theAttribute->attributeType() != ModelAPI_AttributeSelection::typeId()) {
     aValid = false;
-    theError = "The attribute with the " + theAttribute->attributeType() + " type is not processed";
+    theError = "The attribute with the %1 type is not processed";
+    theError.arg(theAttribute->attributeType());
     return aValid;
   }