Salome HOME
Replace error construction with + with using %1 placeholders
[modules/shaper.git] / src / GeomValidators / GeomValidators_Face.cpp
index 391ae4f827232caa1f05d6dd197d5d13112aaa7a..dd415526378ab07ea1531b9d0558641f260fb1b2 100644 (file)
@@ -38,7 +38,8 @@ bool GeomValidators_Face::isValid(const AttributePtr& theAttribute,
 {
   std::string anAttributeType = theAttribute->attributeType();
   if (anAttributeType != ModelAPI_AttributeSelection::typeId()) {
-    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 false;
   }