summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/swcrsr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-10 11:20:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-11 06:57:26 +0100
commitf26621d468eb19197d76f10779d5edc7dff6022f (patch)
treefcca1e3eb1aace22ebe547d559621da7c1dbc8d2 /sw/source/core/crsr/swcrsr.cxx
parent412ca1ff72d2031d327df658a94e63bdcb8583b0 (diff)
convert SectionType to scoped enum
Change-Id: Ib05b88b05c90b835107128f42c70170660788d00 Reviewed-on: https://gerrit.libreoffice.org/84851 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/crsr/swcrsr.cxx')
-rw-r--r--sw/source/core/crsr/swcrsr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx
index 1075f2fa0fb6..12b71b08d530 100644
--- a/sw/source/core/crsr/swcrsr.cxx
+++ b/sw/source/core/crsr/swcrsr.cxx
@@ -315,7 +315,7 @@ bool SwCursor::IsSelOvr( SwCursorSelOverFlags eFlags )
{
// if it is no linked section then we cannot select it
const SwSection& rSect = *pFormat->GetSection();
- if( CONTENT_SECTION == rSect.GetType() )
+ if( SectionType::Content == rSect.GetType() )
{
RestoreSavePos();
return true;