From 65024049cc416f270a0cb2ef026a049a50fecb1f Mon Sep 17 00:00:00 2001 From: azv Date: Mon, 24 Jun 2019 15:43:08 +0300 Subject: [PATCH] Fix too long lines > 100 characters. --- src/Model/Model_Session.cpp | 6 ++++-- src/Model/Model_Session.h | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) 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: -- 2.39.2