From 3086e0850d0fb3cfd85fc6286523b0e9c0d71dcd Mon Sep 17 00:00:00 2001
From: AGV <>
Date: Thu, 28 Apr 2011 15:12:33 +0000
Subject: [PATCH] OCC22382 List of Undos/Redos should be protected

---
 src/TDocStd/TDocStd_Document.cdl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/TDocStd/TDocStd_Document.cdl b/src/TDocStd/TDocStd_Document.cdl
index 133b579c23..50577adf55 100755
--- a/src/TDocStd/TDocStd_Document.cdl
+++ b/src/TDocStd/TDocStd_Document.cdl
@@ -315,8 +315,8 @@ fields
     myData            : Data         from TDF;    
     myUndoLimit       : Integer      from Standard;
     myUndoTransaction : Transaction  from TDF;
-    myUndos           : DeltaList    from TDF;
-    myRedos           : DeltaList    from TDF;
+    myUndos           : DeltaList    from TDF is protected;
+    myRedos           : DeltaList    from TDF is protected;
 
     myFromUndo        : Delta        from TDF;
     myFromRedo        : Delta        from TDF;