summaryrefslogtreecommitdiff
path: root/sw/qa/core/uwriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/core/uwriter.cxx')
-rw-r--r--sw/qa/core/uwriter.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx
index f1a4793c626d..6bdc043be340 100644
--- a/sw/qa/core/uwriter.cxx
+++ b/sw/qa/core/uwriter.cxx
@@ -1093,14 +1093,13 @@ void SwDocTest::randomTest()
}
break;
case 4: { // movement
- IDocumentContentOperations::SwMoveFlags nFlags =
- (IDocumentContentOperations::SwMoveFlags)
- (getRand(1) ? // FIXME: puterb this more ?
- IDocumentContentOperations::DOC_MOVEDEFAULT :
- IDocumentContentOperations::DOC_MOVEALLFLYS |
- IDocumentContentOperations::DOC_CREATEUNDOOBJ |
- IDocumentContentOperations::DOC_MOVEREDLINES |
- IDocumentContentOperations::DOC_NO_DELFRMS);
+ SwMoveFlags nFlags =
+ getRand(1) // FIXME: puterb this more ?
+ ? SwMoveFlags::DEFAULT
+ : SwMoveFlags::ALLFLYS |
+ SwMoveFlags::CREATEUNDOOBJ |
+ SwMoveFlags::REDLINES |
+ SwMoveFlags::NO_DELFRMS;
SwPosition aTo(getRandomPosition(m_pDoc, i/10));
m_pDoc->getIDocumentContentOperations().MoveRange(aCrs, aTo, nFlags);
break;