diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-04 08:34:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-04 09:30:37 +0200 |
commit | 9e078db481150fe59ecc5ed576ff341a5a5a42cf (patch) | |
tree | 4993ede659041ae0c4768f9886d4052306395dcf /include/editeng | |
parent | 974b7fe6dfa8935a2068365e416b8d886f9d2a32 (diff) |
OUTLINERMODE_USERMASK is useless now
Change-Id: Iba94c4f244aac5bd6b5abefe70061e1d037089cf
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/outliner.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 0d53ab150ebf..5cdf08dfcd43 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -580,8 +580,6 @@ namespace o3tl template<> struct typed_flags<OutlinerMode> : is_typed_flags<OutlinerMode, 0x000f> {}; } -#define OUTLINERMODE_USERMASK (OutlinerMode)0x00FF - class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster { friend class OutlinerView; @@ -657,7 +655,7 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster bool ImpCanDeleteSelectedPages( OutlinerView* pCurView ); bool ImpCanDeleteSelectedPages( OutlinerView* pCurView, sal_Int32 nFirstPage, sal_Int32 nPages ); - OutlinerMode ImplGetOutlinerMode() const { return nOutlinerMode & OUTLINERMODE_USERMASK; } + OutlinerMode ImplGetOutlinerMode() const { return nOutlinerMode; } void ImplCheckDepth( sal_Int16& rnDepth ) const; protected: @@ -963,7 +961,7 @@ public: // this is needed for StarOffice Api void SetLevelDependendStyleSheet( sal_Int32 nPara ); - OutlinerMode GetOutlinerMode() const { return nOutlinerMode & OUTLINERMODE_USERMASK; } + OutlinerMode GetOutlinerMode() const { return nOutlinerMode; } // spell and return a sentence bool SpellSentence(EditView& rEditView, svx::SpellPortions& rToFill, bool bIsGrammarChecking ); |