0031918: Application Framework - New binary format for fast reading part of OCAF...
[occt.git] / src / TDocStd / TDocStd_Document.cxx
index 6bb37dc..a8bd3c9 100644 (file)
@@ -549,7 +549,7 @@ void TDocStd_Document::ClearRedos()
 //=======================================================================
 //function : Undo
 //purpose  : 
 //=======================================================================
 //function : Undo
 //purpose  : 
-// Some importante notice:
+// Some important notice:
 // 1) The most recent undo delta is at the end of the list.
 // 2) Removing the LAST item of a list is tedious, but it is done only on
 //    Undo. Remove first is done at each command if the limit is reached!
 // 1) The most recent undo delta is at the end of the list.
 // 2) Removing the LAST item of a list is tedious, but it is done only on
 //    Undo. Remove first is done at each command if the limit is reached!
@@ -623,7 +623,6 @@ Standard_Boolean TDocStd_Document::Redo()
 {
   Standard_Boolean isOpened = myUndoTransaction.IsOpen();
   Standard_Boolean undoDone = Standard_False;
 {
   Standard_Boolean isOpened = myUndoTransaction.IsOpen();
   Standard_Boolean undoDone = Standard_False;
-  // TDF_Label currentObjectLabel = CurrentLabel();//Sauve pour usage ulterieur.
   if (!myRedos.IsEmpty()) {
     // should test the applicability before.
     // Reset the transaction
   if (!myRedos.IsEmpty()) {
     // should test the applicability before.
     // Reset the transaction