diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-20 11:42:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-20 17:55:01 +0000 |
commit | e8260df1d67baf807771cd5c740164a227856515 (patch) | |
tree | fbf45c4cdede1d4fcb880342e544fa58cb23e3a6 /sw/source/core/inc | |
parent | 52350c15b37573e160f25d39565f577fc7189955 (diff) |
loplugin:expandablemethodds in sw(part2)
Change-Id: Idc2118899a8063099b66c0f5db40d8402db063d1
Reviewed-on: https://gerrit.libreoffice.org/30083
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/inc')
-rw-r--r-- | sw/source/core/inc/frame.hxx | 3 | ||||
-rw-r--r-- | sw/source/core/inc/layact.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/notxtfrm.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/pagefrm.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/unoport.hxx | 3 |
5 files changed, 0 insertions, 12 deletions
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index a3451ee44adc..fb9dfec03965 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -438,14 +438,11 @@ public: inline bool IsVertical() const; inline bool IsVertLR() const; - inline bool GetVerticalFlag() const { return mbVertical; } inline void SetDerivedVert( bool bNew ){ mbDerivedVert = bNew; } inline void SetInvalidVert( bool bNew) { mbInvalidVert = bNew; } inline bool IsRightToLeft() const; - inline bool GetRightToLeftFlag() const { return mbRightToLeft; } inline void SetDerivedR2L( bool bNew ) { mbDerivedR2L = bNew; } - inline void SetInvalidR2L( bool bNew ) { mbInvalidR2L = bNew; } void CheckDirChange(); // returns upper left frame position for LTR and diff --git a/sw/source/core/inc/layact.hxx b/sw/source/core/inc/layact.hxx index 247260d72597..0541a20d6eae 100644 --- a/sw/source/core/inc/layact.hxx +++ b/sw/source/core/inc/layact.hxx @@ -116,7 +116,6 @@ class SwLayAction bool RemoveEmptyBrowserPages(); inline void CheckIdleEnd(); - inline std::clock_t GetStartTicks() { return m_nStartTicks; } public: SwLayAction( SwRootFrame *pRt, SwViewShellImp *pImp ); @@ -130,7 +129,6 @@ public: bool IsWaitAllowed() const { return m_bWaitAllowed; } bool IsNextCycle() const { return m_bNextCycle; } bool IsInput() const { return m_bInput; } - bool IsWait() const { return nullptr != m_pWait; } bool IsPaint() const { return m_bPaint; } bool IsIdle() const { return m_bIdle; } bool IsReschedule() const { return m_bReschedule; } diff --git a/sw/source/core/inc/notxtfrm.hxx b/sw/source/core/inc/notxtfrm.hxx index 3a4861697fd7..ce44b31b90d0 100644 --- a/sw/source/core/inc/notxtfrm.hxx +++ b/sw/source/core/inc/notxtfrm.hxx @@ -32,8 +32,6 @@ class SwNoTextFrame: public SwContentFrame const Size& GetSize() const; - void InitCtor(); - void Format ( vcl::RenderContext* pRenderContext, const SwBorderAttrs *pAttrs = nullptr ) override; void PaintPicture( vcl::RenderContext*, const SwRect& ) const; diff --git a/sw/source/core/inc/pagefrm.hxx b/sw/source/core/inc/pagefrm.hxx index 54fed6384519..f1505fa63ba7 100644 --- a/sw/source/core/inc/pagefrm.hxx +++ b/sw/source/core/inc/pagefrm.hxx @@ -190,8 +190,6 @@ public: inline sal_uInt16 GetPhyPageNum() const { return m_nPhyPageNum;} inline void SetPhyPageNum( sal_uInt16 nNum ) { m_nPhyPageNum = nNum;} - inline void DecrPhyPageNum() { --m_nPhyPageNum; } - inline void IncrPhyPageNum() { ++m_nPhyPageNum; } /// Validate, invalidate and query the Page status /// Layout/Content and Fly/non-Fly respectively are inspected separately diff --git a/sw/source/core/inc/unoport.hxx b/sw/source/core/inc/unoport.hxx index 6c9e24a4c672..fa82c830c06c 100644 --- a/sw/source/core/inc/unoport.hxx +++ b/sw/source/core/inc/unoport.hxx @@ -236,9 +236,6 @@ class SwXTextPortionEnumeration TextRangeList_t m_Portions; // contains all portions, filled by ctor sw::UnoCursorPointer m_pUnoCursor; - SwUnoCursor& GetCursor() const - {return *m_pUnoCursor;} - protected: virtual ~SwXTextPortionEnumeration() override; |