summaryrefslogtreecommitdiff
path: root/sw/inc/ndtxt.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/ndtxt.hxx')
-rw-r--r--sw/inc/ndtxt.hxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index f4612d476ac4..46f6c11b3145 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -357,12 +357,6 @@ public:
bool DontExpandFormat( const SwIndex& rIdx, bool bFlag = true,
bool bFormatToTextAttributes = true );
- enum GetTextAttrMode {
- DEFAULT, /// DEFAULT: (Start <= nIndex < End)
- EXPAND, /// EXPAND : (Start < nIndex <= End)
- PARENT, /// PARENT : (Start < nIndex < End)
- };
-
/** get the innermost text attribute covering position nIndex.
@param nWhich only attribute with this id is returned.
@param eMode the predicate for matching (@see GetTextAttrMode).
@@ -374,7 +368,7 @@ public:
SwTextAttr *GetTextAttrAt(
sal_Int32 const nIndex,
sal_uInt16 const nWhich,
- enum GetTextAttrMode const eMode = DEFAULT ) const;
+ ::sw::GetTextAttrMode const eMode = ::sw::GetTextAttrMode::Default) const;
/** get the innermost text attributes covering position nIndex.
@param nWhich only attributes with this id are returned.
@@ -397,7 +391,7 @@ public:
SwTextField* GetFieldTextAttrAt(
const sal_Int32 nIndex,
- const bool bIncludeInputFieldAtStart = false ) const;
+ ::sw::GetTextAttrMode const eMode = ::sw::GetTextAttrMode::Expand) const;
bool Spell(SwSpellArgs*);
bool Convert( SwConversionArgs & );