From 7e776c0027c19f1bb8e64dd68d3fd9ded0b5d896 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 2 Oct 2015 08:37:23 +0200 Subject: loplugin:unusedmethods Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af --- include/editeng/AccessibleParaManager.hxx | 9 --------- include/editeng/editstat.hxx | 8 -------- include/editeng/itemtype.hxx | 7 ------- include/editeng/overflowingtxt.hxx | 4 ---- 4 files changed, 28 deletions(-) (limited to 'include/editeng') diff --git a/include/editeng/AccessibleParaManager.hxx b/include/editeng/AccessibleParaManager.hxx index e1460512d11e..e9b26dd33a27 100644 --- a/include/editeng/AccessibleParaManager.hxx +++ b/include/editeng/AccessibleParaManager.hxx @@ -287,15 +287,6 @@ namespace accessibility Argument maArg; }; - /** Generic algorithm on given paragraphs - - Convenience method, that already adapts the given functor with WeakChildAdapter - */ - template < typename Functor > void ForEach( Functor& rFunctor ) - { - ::std::for_each( begin(), end(), WeakChildAdapter< Functor >(rFunctor) ); - } - private: /// Set state on given child void SetState( sal_Int32 nChild, const sal_Int16 nStateId ); diff --git a/include/editeng/editstat.hxx b/include/editeng/editstat.hxx index 3ec7c39d57a2..fa5c771c7b88 100644 --- a/include/editeng/editstat.hxx +++ b/include/editeng/editstat.hxx @@ -98,14 +98,6 @@ namespace o3tl EditStatusFlags::CRSRLEFTPARA at the time cursor movement and the enter. */ -inline void SetFlags( EEControlBits& rBits, EEControlBits nMask, bool bOn ) -{ - if ( bOn ) - rBits |= nMask; - else - rBits &= ~nMask; -} - inline void SetFlags( EVControlBits& rBits, EVControlBits nMask, bool bOn ) { if ( bOn ) diff --git a/include/editeng/itemtype.hxx b/include/editeng/itemtype.hxx index 54a518e97c05..f92f72cb3e5e 100644 --- a/include/editeng/itemtype.hxx +++ b/include/editeng/itemtype.hxx @@ -42,13 +42,6 @@ EDITENG_DLLPUBLIC sal_uInt16 GetMetricId( SfxMapUnit eUnit ); -inline OUString GetBoolString(bool bVal) -{ - return EE_RESSTR(bVal ? RID_SVXITEMS_TRUE : RID_SVXITEMS_FALSE); -} - - - inline long Scale( long nVal, long nMult, long nDiv ) { BigInt aVal( nVal ); diff --git a/include/editeng/overflowingtxt.hxx b/include/editeng/overflowingtxt.hxx index faa77f876dc1..2d263fc3dbaa 100644 --- a/include/editeng/overflowingtxt.hxx +++ b/include/editeng/overflowingtxt.hxx @@ -116,14 +116,10 @@ public: OutlinerParaObject *InsertOverflowingText(Outliner *, OutlinerParaObject *); OutlinerParaObject *RemoveOverflowingText(Outliner *); - static ESelection GetInsertionPointSel(); ESelection GetOverflowPointSel() const; bool IsLastParaInterrupted() const; -protected: - void impSetOutlinerToEmptyTxt(Outliner *); - private: NonOverflowingText *mpNonOverflowingTxt; OverflowingText *mpOverflowingTxt; -- cgit