Kaydet (Commit) 7b58b777 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Winfinite-recursion

Change-Id: I445302a2f51bbd244fcf7dbf2058efc30ac0b886
üst 9598e906
......@@ -656,7 +656,7 @@ public:
SwFrm* GetIndNext()
{ return ( mpNext || !IsInSct() ) ? mpNext : _GetIndNext(); }
const SwFrm* GetIndNext() const { return static_cast<const SwFrm*>(this)->GetIndNext(); }
const SwFrm* GetIndNext() const { return const_cast<SwFrm*>(this)->GetIndNext(); }
sal_uInt16 GetPhyPageNum() const; // page number without offset
sal_uInt16 GetVirtPageNum() const; // page number with offset
......
......@@ -427,7 +427,7 @@ public:
inline SwTwips GetFtnFrmHeight() const;
SwTxtFrm *FindFtnRef( const SwTxtFtn *pFtn );
inline const SwTxtFrm *FindFtnRef( const SwTxtFtn *pFtn ) const
{ return FindFtnRef( pFtn ); }
{ return const_cast<SwTxtFrm *>(this)->FindFtnRef( pFtn ); }
void ConnectFtn( SwTxtFtn *pFtn, const SwTwips nDeadLine );
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment