diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-06 11:12:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-11 10:16:53 +0200 |
commit | 5eea85ec4fa7c458785be749a0e370a0883ff693 (patch) | |
tree | 8e9c5055d2ebfa1586b8106dc4f0a4d69f0d4021 /sw/inc/ndtxt.hxx | |
parent | 68c87b46fd26291463989d5bf751bc4cecf09b28 (diff) |
convert SwMoveFlags and SwInsertFlags from enum to enum class
Change-Id: I067656a47845c5d3fa143ce400b4ef0f8bf9ac5f
Diffstat (limited to 'sw/inc/ndtxt.hxx')
-rw-r--r-- | sw/inc/ndtxt.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 3e8d5cac01bb..e5bf4b81a87c 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -246,16 +246,15 @@ public: /// of the node, the longest prefix that fits is inserted /// @return the prefix of rStr that was actually inserted OUString InsertText( const OUString & rStr, const SwIndex & rIdx, - const enum IDocumentContentOperations::InsertFlags nMode - = IDocumentContentOperations::INS_DEFAULT ); + const enum SwInsertFlags nMode + = SwInsertFlags::DEFAULT ); /** delete text content ATTENTION: must not be called with a range that overlaps the start of an attribute with both extent and dummy char */ void EraseText ( const SwIndex &rIdx, const sal_Int32 nCount = SAL_MAX_INT32, - const enum IDocumentContentOperations::InsertFlags nMode - = IDocumentContentOperations::INS_DEFAULT ); + const enum SwInsertFlags nMode = SwInsertFlags::DEFAULT ); /** delete all attributes. If neither pSet nor nWhich is given, delete all attributes (except |