summaryrefslogtreecommitdiff
path: root/sw/inc/unotextcursor.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-06 13:08:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-07 06:41:00 +0000
commit77a7a92f855810695a11d4ea285f76ec08600493 (patch)
tree7acbe665e473cd1118c1f2c68c7098d767f96741 /sw/inc/unotextcursor.hxx
parent93bde3156284df4419c49447cbf455de9d74f00a (diff)
convert CursorType to scoped enum
and drop unused CURSOR_INVALID constant Change-Id: I190908a03317f93d247c0a9c806c70bb286b8ecb Reviewed-on: https://gerrit.libreoffice.org/33964 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/unotextcursor.hxx')
-rw-r--r--sw/inc/unotextcursor.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/unotextcursor.hxx b/sw/inc/unotextcursor.hxx
index 7f457fe506ef..1bb2f9a119d8 100644
--- a/sw/inc/unotextcursor.hxx
+++ b/sw/inc/unotextcursor.hxx
@@ -81,13 +81,13 @@ public:
SwXTextCursor(
SwDoc & rDoc,
css::uno::Reference< css::text::XText > const& xParent,
- const enum CursorType eType,
+ const CursorType eType,
SwPosition const& rPos,
SwPosition const*const pMark = nullptr);
SwXTextCursor(
css::uno::Reference< css::text::XText > const& xParent,
SwPaM const& rSourceCursor,
- const enum CursorType eType = CURSOR_ALL);
+ const CursorType eType = CursorType::All);
SwUnoCursor& GetCursor();
bool IsAtEndOfMeta() const;