summaryrefslogtreecommitdiff
path: root/sw/source/uibase/index
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/source/uibase/index
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/source/uibase/index')
-rw-r--r--sw/source/uibase/index/toxmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/index/toxmgr.cxx b/sw/source/uibase/index/toxmgr.cxx
index 8d40c2fc92d4..7e5bb1ba177b 100644
--- a/sw/source/uibase/index/toxmgr.cxx
+++ b/sw/source/uibase/index/toxmgr.cxx
@@ -212,7 +212,7 @@ void SwTOXMgr::UpdateTOXMark(const SwTOXMarkDescription& rDesc)
// Bug 36207 pCurTOXMark points nowhere here!
if(!m_pCurTOXMark)
{
- m_pSh->Left(CRSR_SKIP_CHARS, false, 1, false );
+ m_pSh->Left(SwCursorSkipMode::Chars, false, 1, false );
m_pSh->GetCurTOXMarks(m_aCurMarks);
SetCurTOXMark(0);
}