summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/editsh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-06 11:12:14 +0200
committerNoel Grandin <noel@peralex.com>2015-03-11 10:16:53 +0200
commit5eea85ec4fa7c458785be749a0e370a0883ff693 (patch)
tree8e9c5055d2ebfa1586b8106dc4f0a4d69f0d4021 /sw/source/core/edit/editsh.cxx
parent68c87b46fd26291463989d5bf751bc4cecf09b28 (diff)
convert SwMoveFlags and SwInsertFlags from enum to enum class
Change-Id: I067656a47845c5d3fa143ce400b4ef0f8bf9ac5f
Diffstat (limited to 'sw/source/core/edit/editsh.cxx')
-rw-r--r--sw/source/core/edit/editsh.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx
index 96110ba9829d..39d6d81e2d27 100644
--- a/sw/source/core/edit/editsh.cxx
+++ b/sw/source/core/edit/editsh.cxx
@@ -87,12 +87,10 @@ void SwEditShell::Insert2(const OUString &rStr, const bool bForceExpandHints )
{
StartAllAction();
{
- const enum IDocumentContentOperations::InsertFlags nInsertFlags =
+ const enum SwInsertFlags nInsertFlags =
(bForceExpandHints)
- ? static_cast<IDocumentContentOperations::InsertFlags>(
- IDocumentContentOperations::INS_FORCEHINTEXPAND |
- IDocumentContentOperations::INS_EMPTYEXPAND)
- : IDocumentContentOperations::INS_EMPTYEXPAND;
+ ? (SwInsertFlags::FORCEHINTEXPAND | SwInsertFlags::EMPTYEXPAND)
+ : SwInsertFlags::EMPTYEXPAND;
for(SwPaM& rCurrentCrsr : getShellCrsr( true )->GetRingContainer())
{