summaryrefslogtreecommitdiff
path: root/sw/qa/extras/txtimport
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-07-26 18:19:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-26 22:42:16 +0200
commit4c38f51c727fac25fdeb15d78a24d9203fabac5c (patch)
tree025a161ba1511c93bdf357993742358d9a6e9226 /sw/qa/extras/txtimport
parentb13631c562e85a6567a600edc5bb1d93418e4f53 (diff)
convert CRSR_SKIP_* to typed enum
Change-Id: Ia5cb9915fc7ad3238f4386f5ed3e43efc4b74a32 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137478 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/extras/txtimport')
-rw-r--r--sw/qa/extras/txtimport/txtimport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/txtimport/txtimport.cxx b/sw/qa/extras/txtimport/txtimport.cxx
index 4ae113320a88..2b388d9b6175 100644
--- a/sw/qa/extras/txtimport/txtimport.cxx
+++ b/sw/qa/extras/txtimport/txtimport.cxx
@@ -179,7 +179,7 @@ CPPUNIT_TEST_FIXTURE(TxtImportTest, testTdf115088)
pWrtShell->SelAll();
dispatchCommand(mxComponent, ".uno:Cut", {});
pWrtShell->Insert("test");
- pWrtShell->Left(CRSR_SKIP_CHARS, /*bSelect=*/false, 4, /*bBasicCall=*/false);
+ pWrtShell->Left(SwCursorSkipMode::Chars, /*bSelect=*/false, 4, /*bBasicCall=*/false);
dispatchCommand(mxComponent, ".uno:PasteUnformatted", {});
uno::Reference<text::XTextDocument> xTextDocument(mxComponent, uno::UNO_QUERY);
OUString aActual = xTextDocument->getText()->getString().copy(0, 2);