diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-26 18:19:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-26 22:42:16 +0200 |
commit | 4c38f51c727fac25fdeb15d78a24d9203fabac5c (patch) | |
tree | 025a161ba1511c93bdf357993742358d9a6e9226 /sw/source/uibase/fldui | |
parent | b13631c562e85a6567a600edc5bb1d93418e4f53 (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/fldui')
-rw-r--r-- | sw/source/uibase/fldui/fldmgr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx index 044f19b07d74..7a860203f63d 100644 --- a/sw/source/uibase/fldui/fldmgr.cxx +++ b/sw/source/uibase/fldui/fldmgr.cxx @@ -1496,7 +1496,7 @@ bool SwFieldMgr::InsertField( pCurShell->Push(); // start dialog, not before the field is inserted tdf#99529 - pCurShell->Left(CRSR_SKIP_CHARS, false, + pCurShell->Left(SwCursorSkipMode::Chars, false, (INP_VAR == (nSubType & 0xff) || pCurShell->GetViewOptions()->IsFieldName()) ? 1 : 2, false); pCurShell->StartInputFieldDlg(pField.get(), false, true, rData.m_pParent); @@ -1511,9 +1511,9 @@ bool SwFieldMgr::InsertField( if (bTable) { - pCurShell->Left(CRSR_SKIP_CHARS, false, 1, false ); + pCurShell->Left(SwCursorSkipMode::Chars, false, 1, false ); pCurShell->UpdateOneField(*pField); - pCurShell->Right(CRSR_SKIP_CHARS, false, 1, false ); + pCurShell->Right(SwCursorSkipMode::Chars, false, 1, false ); } else if (bPageVar) { |