diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-10 15:10:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-11 10:16:53 +0200 |
commit | 68c87b46fd26291463989d5bf751bc4cecf09b28 (patch) | |
tree | a416573cc62487ba2f419080a1186251ed887478 /sw/inc/ndtxt.hxx | |
parent | 82c37453482e6b8bd6ab7b7e96b1257a1d5b0699 (diff) |
convert SetAttrMode to enum class
Change-Id: If7dd0c49480756afb7d4eaaba597ecc305c35f64
Diffstat (limited to 'sw/inc/ndtxt.hxx')
-rw-r--r-- | sw/inc/ndtxt.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 45e31071fadc..3e8d5cac01bb 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -287,18 +287,18 @@ public: /// Insert pAttr into hints array. @return true iff inserted successfully bool InsertHint( SwTxtAttr * const pAttr, - const SetAttrMode nMode = nsSetAttrMode::SETATTR_DEFAULT ); + const SetAttrMode nMode = SetAttrMode::DEFAULT ); /// create new text attribute from rAttr and insert it /// @return inserted hint; 0 if not sure the hint is inserted SwTxtAttr* InsertItem( SfxPoolItem& rAttr, const sal_Int32 nStart, const sal_Int32 nEnd, - const SetAttrMode nMode = nsSetAttrMode::SETATTR_DEFAULT ); + const SetAttrMode nMode = SetAttrMode::DEFAULT ); /** Set these attributes at TextNode. If the whole range is comprised set them only in AutoAttrSet (SwCntntNode::SetAttr). */ bool SetAttr( const SfxItemSet& rSet, sal_Int32 nStt, sal_Int32 nEnd, - const SetAttrMode nMode = nsSetAttrMode::SETATTR_DEFAULT ); + const SetAttrMode nMode = SetAttrMode::DEFAULT ); /** Query the attributes of textnode over the range. Introduce 4th optional parameter <bMergeIndentValuesOfNumRule>. If <bMergeIndentValuesOfNumRule> == true, the indent attributes of |