Salome HOME
Fix too long lines > 100 characters.
authorazv <azv@opencascade.com>
Mon, 24 Jun 2019 12:43:08 +0000 (15:43 +0300)
committerazv <azv@opencascade.com>
Mon, 24 Jun 2019 12:43:08 +0000 (15:43 +0300)
src/Model/Model_Session.cpp
src/Model/Model_Session.h

index c555fac10c53615b5babf88ca9a4042b45dc3945..afdf7e4a5773f37da44c341b869d1ad2b54344b6 100644 (file)
@@ -98,7 +98,8 @@ void Model_Session::finishOperation()
 {
   setCheckTransactions(false);
   ROOT_DOC->finishOperation();
-  while(myOperationAttachedToNext.back()) { // with nested, the first transaction can not be attached
+  while(myOperationAttachedToNext.back()) {
+    // with nested, the first transaction can not be attached
     ROOT_DOC->finishOperation();
     myOperationAttachedToNext.pop_back();
   }
@@ -110,7 +111,8 @@ void Model_Session::abortOperation()
 {
   setCheckTransactions(false);
   ROOT_DOC->abortOperation();
-  while(myOperationAttachedToNext.back()) { // with nested, the first transaction can not be attached
+  while(myOperationAttachedToNext.back()) {
+    // with nested, the first transaction can not be attached
     ROOT_DOC->abortOperation();
     myOperationAttachedToNext.pop_back();
   }
index c54d89229ff42105a8808d23105f0955fc26579e..b480a67e951c03cfd5eca6104bb3c9f7eb182f4b 100644 (file)
@@ -48,7 +48,8 @@ class Model_Session : public ModelAPI_Session, public Events_Listener
 
   /// if true, generates error if document is updated outside of transaction
   bool myCheckTransactions;
-  ///< if true, the current operation must be committed twice, with nested (list for any nesting depth)
+  /// if true, the current operation must be committed twice,
+  /// with nested (list for any nesting depth)
   std::list<bool> myOperationAttachedToNext;
  public: