https://bugs.documentfoundation.org/show_bug.cgi?id=140220

--- Comment #4 from Devansh Varshney <varshney.devansh...@gmail.com> ---
In file sw/inc/fmtpdsc.hxx -

at line 62 and 63 -

          SwPageDesc *GetPageDesc() { return
static_cast<SwPageDesc*>(GetRegisteredIn()); }
    const SwPageDesc *GetPageDesc() const { return static_cast<const
SwPageDesc*>(GetRegisteredIn()); }


I am bit confused -

SwPageDesc *m_pPageDesc = m_pPageDesc->GetNotifier();

or this ?

SwPageDesc *m_pPageDesc = static_cast<SwPageDesc*>(GetNotifier());

I also changed the-

    void RegisterToPageDesc( SwPageDesc& );

to 

    void RegisterToPageDesc( m_pPageDesc& );

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to