summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-02 08:37:23 +0200
committerNoel Grandin <noel@peralex.com>2015-10-06 10:17:02 +0200
commit7e776c0027c19f1bb8e64dd68d3fd9ded0b5d896 (patch)
tree62bae1461c0388af6f7a8bebbf134e9a86c92153 /include/editeng
parentd7f2db4b9ce445afdcabf370497bc66db76efbbc (diff)
loplugin:unusedmethods
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/AccessibleParaManager.hxx9
-rw-r--r--include/editeng/editstat.hxx8
-rw-r--r--include/editeng/itemtype.hxx7
-rw-r--r--include/editeng/overflowingtxt.hxx4
4 files changed, 0 insertions, 28 deletions
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;