summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-29 17:12:52 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-30 06:41:28 +0000
commitc47b170c71ecdcaacf2e12e5ce28e7d411bb52e6 (patch)
treed9cfdc4f6be613f7b2523a64978686f85cc5ed68 /editeng
parent8ac4240efe975e9689e8dfc23dc3c1b88eee6dcf (diff)
Convert SelectionMode to scoped enum
Change-Id: I86c435de3918540cb54a0cb24568e58456c2f9d1 Reviewed-on: https://gerrit.libreoffice.org/25611 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editsel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/editsel.cxx b/editeng/source/editeng/editsel.cxx
index b852af73b985..46d01401a925 100644
--- a/editeng/source/editeng/editsel.cxx
+++ b/editeng/source/editeng/editsel.cxx
@@ -84,7 +84,7 @@ void EditSelFunctionSet::DeselectAll()
EditSelectionEngine::EditSelectionEngine() : SelectionEngine( nullptr )
{
- SetSelectionMode( RANGE_SELECTION );
+ SetSelectionMode( SelectionMode::Range );
EnableDrag( true );
}