summaryrefslogtreecommitdiff
path: root/sw/inc/cshtyp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-30 12:15:41 +0200
committerNoel Grandin <noel@peralex.com>2016-08-31 10:00:07 +0200
commit8b52d4e73a06d433d128d61a4939e92e4a497d71 (patch)
tree7888aa54b430ea537ad7c8adb59379163d4d4a64 /sw/inc/cshtyp.hxx
parentfd405ab457183f1c0d48d47bbd3308edb2e30242 (diff)
convert SwDocPositions to scoped enum
Change-Id: Idd9414b4a10398130337e474fb8fd4063e3bd4f8
Diffstat (limited to 'sw/inc/cshtyp.hxx')
-rw-r--r--sw/inc/cshtyp.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/cshtyp.hxx b/sw/inc/cshtyp.hxx
index e9dc3a7ad525..c2e9a3bbcc1e 100644
--- a/sw/inc/cshtyp.hxx
+++ b/sw/inc/cshtyp.hxx
@@ -87,13 +87,13 @@ enum FindRanges
FND_IN_SELALL = 0x01 ///< All (only in non-body and selections).
};
-enum SwDocPositions
+enum class SwDocPositions
{
- DOCPOS_START,
- DOCPOS_CURR,
- DOCPOS_END,
- DOCPOS_OTHERSTART,
- DOCPOS_OTHEREND
+ Start,
+ Curr,
+ End,
+ OtherStart,
+ OtherEnd
};
SW_DLLPUBLIC SwWhichPara GetfnParaCurr();