From: azv Date: Mon, 24 Jun 2019 12:43:08 +0000 (+0300) Subject: Fix too long lines > 100 characters. X-Git-Tag: VEDF2019Lot4~101^2~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65024049cc416f270a0cb2ef026a049a50fecb1f;p=modules%2Fshaper.git Fix too long lines > 100 characters. --- diff --git a/src/Model/Model_Session.cpp b/src/Model/Model_Session.cpp index c555fac10..afdf7e4a5 100644 --- a/src/Model/Model_Session.cpp +++ b/src/Model/Model_Session.cpp @@ -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(); } diff --git a/src/Model/Model_Session.h b/src/Model/Model_Session.h index c54d89229..b480a67e9 100644 --- a/src/Model/Model_Session.h +++ b/src/Model/Model_Session.h @@ -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 myOperationAttachedToNext; public: