]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Spell-checking
authorspo <sergey.pokhodenko@opencascade.com>
Mon, 21 Dec 2015 11:04:21 +0000 (14:04 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Mon, 21 Dec 2015 12:01:33 +0000 (15:01 +0300)
src/ModuleBase/ModuleBase_ParamSpinBox.cpp
src/PartSet/PartSet_WidgetPoint2d.cpp

index 43ffd34008e9576021e0a6dd5991187280759b73..17b9307ca014ab936354b3cf1f4f0464c3cdff34 100644 (file)
@@ -67,7 +67,7 @@ double ModuleBase_ParamSpinBox::valueFromText(const QString& theText) const
   if (!hasVariable(theText))
     return ModuleBase_DoubleSpinBox::valueFromText(theText);
 
-  // small hack: return length of the string to initiate valuesChanged signal
+  // small hack: return hash of the string to initiate valuesChanged signal
   return qHash(theText);
 }
 
index 9c7f6b1e5dc8cfff6d31584874299760d1e54c18..1e9f5f6856518bbf73c3c2598405391a01bf19e0 100644 (file)
@@ -64,7 +64,7 @@ PartSet_WidgetPoint2D::PartSet_WidgetPoint2D(QWidget* theParent,
       << SketchPlugin_Circle::ID().c_str();
   }
 
-  // the control should accept the focus, so the boolen flag is corrected to be true
+  // the control should accept the focus, so the boolean flag is corrected to be true
   myIsObligatory = true;
   //myOptionParam = theData->getProperty(PREVIOUS_FEATURE_PARAM);
   QString aPageName = QString::fromStdString(theData->getProperty(CONTAINER_PAGE_NAME));
@@ -150,7 +150,7 @@ bool PartSet_WidgetPoint2D::setSelection(QList<ModuleBase_ViewerPrs>& theValues,
   else if (canBeActivatedByMove()) {
     if (feature()->getKind() == SketchPlugin_Line::ID()) {
       FeaturePtr aFeature = std::dynamic_pointer_cast<ModelAPI_Feature>(aValue.object());
-      // Initialise new line with first point equal to end of previous
+      // Initialize new line with first point equal to end of previous
       if (aFeature.get()) {
         std::shared_ptr<ModelAPI_Data> aData = aFeature->data();
         std::shared_ptr<GeomDataAPI_Point2D> aPoint =