summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edfld.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-16 09:11:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-16 07:56:25 +0000
commit8ae9dcec653c4ad3eeb8c3e1fa9b1684e2bd64a2 (patch)
treed72e1a17603bb146cce0d02ffeec46acb57335c6 /sw/source/core/edit/edfld.cxx
parent3b7d751ad4f950aae0641a75b2ea993025629c9d (diff)
convert SwUndoId to scoped enum
Change-Id: I782fdd53641c0d7c629265b6179de70aa54382f9 Reviewed-on: https://gerrit.libreoffice.org/35246 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/edit/edfld.cxx')
-rw-r--r--sw/source/core/edit/edfld.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/edit/edfld.cxx b/sw/source/core/edit/edfld.cxx
index 69b900a177ee..f7d4b1b71f87 100644
--- a/sw/source/core/edit/edfld.cxx
+++ b/sw/source/core/edit/edfld.cxx
@@ -129,7 +129,7 @@ void SwEditShell::FieldToText( SwFieldType* pType )
SET_CURR_SHELL( this );
StartAllAction();
- StartUndo( UNDO_DELETE );
+ StartUndo( SwUndoId::DELETE );
Push();
SwPaM* pPaM = GetCursor();
// TODO: this is really hackish
@@ -143,7 +143,7 @@ void SwEditShell::FieldToText( SwFieldType* pType )
Pop( false );
EndAllAction();
- EndUndo( UNDO_DELETE );
+ EndUndo( SwUndoId::DELETE );
}
/// add a field at the cursor position