Salome HOME
Issue #1834: Fix length of lines
[modules/shaper.git] / src / Model / Model_AttributeValidator.cpp
index 09207089b798b30f3d4a0806771f71bc3161bb86..0f7c48082c4625626bb2f0d45cb0c376ba50104a 100644 (file)
@@ -44,7 +44,8 @@ bool Model_AttributeValidator::isValid(const AttributePtr& theAttribute,
     std::string anErrorMessage;
     for (int i = 0; i < 3; ++i) {
       if (!anAttribue->expressionError(i).empty())
-        anErrorMessage.append("\n").append(aComponent[i]).append(": ").append(anAttribue->expressionError(i));
+        anErrorMessage.append("\n").append(aComponent[i])
+          .append(": ").append(anAttribue->expressionError(i));
     }
     if (!anErrorMessage.empty()) {
       theError = "Expression error: %1";
@@ -60,7 +61,8 @@ bool Model_AttributeValidator::isValid(const AttributePtr& theAttribute,
     std::string anErrorMessage;
     for (int i = 0; i < 2; ++i) {
       if (!anAttribue->expressionError(i).empty())
-        anErrorMessage.append("\n").append(aComponent[i]).append(": ").append(anAttribue->expressionError(i));
+        anErrorMessage.append("\n").append(aComponent[i])
+          .append(": ").append(anAttribue->expressionError(i));
     }
     if (!anErrorMessage.empty()) {
       theError = "Expression error: %1";