From: stv Date: Tue, 22 Nov 2005 13:30:25 +0000 (+0000) Subject: Transaction management methods automaticaly invoked from SUIT_Operation object. X-Git-Tag: BR_3_1_0_deb~56 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=daf83f193526427c949dc8d63a118422f729114b;p=modules%2Fgui.git Transaction management methods automaticaly invoked from SUIT_Operation object. --- diff --git a/src/SUIT/SUIT_Study.cxx b/src/SUIT/SUIT_Study.cxx index 3fb151902..56e47ffd5 100755 --- a/src/SUIT/SUIT_Study.cxx +++ b/src/SUIT/SUIT_Study.cxx @@ -433,7 +433,7 @@ void SUIT_Study::operationStarted( SUIT_Operation* op ) return; if ( op->testFlags( SUIT_Operation::Transaction ) ) - openTransaction(); + op->openTransaction(); } /*! @@ -442,7 +442,7 @@ void SUIT_Study::operationStarted( SUIT_Operation* op ) void SUIT_Study::operationAborted( SUIT_Operation* op ) { if ( op->testFlags( SUIT_Operation::Transaction ) ) - abortTransaction(); + op->abortTransaction(); } /*! @@ -451,7 +451,7 @@ void SUIT_Study::operationAborted( SUIT_Operation* op ) void SUIT_Study::operationCommited( SUIT_Operation* op ) { if ( op->testFlags( SUIT_Operation::Transaction ) ) - commitTransaction( op->operationName() ); + op->commitTransaction( op->operationName() ); } /*!