diff options
-rwxr-xr-x | sfx2/qa/complex/sfx2/UndoManager.java | 2 | ||||
-rwxr-xr-x | sfx2/qa/complex/sfx2/undo/WriterDocumentTest.java | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/qa/complex/sfx2/UndoManager.java b/sfx2/qa/complex/sfx2/UndoManager.java index 42461c9365bb..f3625747dd13 100755 --- a/sfx2/qa/complex/sfx2/UndoManager.java +++ b/sfx2/qa/complex/sfx2/UndoManager.java @@ -123,7 +123,7 @@ public class UndoManager public void checkWriterUndo() throws Exception { m_currentTestCase = new WriterDocumentTest( getORB() ); - impl_checkUndo( true ); + impl_checkUndo( false ); } // ----------------------------------------------------------------------------------------------------------------- diff --git a/sfx2/qa/complex/sfx2/undo/WriterDocumentTest.java b/sfx2/qa/complex/sfx2/undo/WriterDocumentTest.java index 100d36382d39..702fb85ebb11 100755 --- a/sfx2/qa/complex/sfx2/undo/WriterDocumentTest.java +++ b/sfx2/qa/complex/sfx2/undo/WriterDocumentTest.java @@ -74,6 +74,7 @@ public class WriterDocumentTest extends DocumentTestBase // insert the table into the doc docText.insertTextContent( cursor, textTable, false ); + ++expectedUndoActions; //FIXME this will create 2 actions! currently the event is sent for every individual action; should it be sent for top-level actions only? how many internal actions are created is an implementation detail! ++expectedUndoActions; // write some content into the center cell |