diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-10-16 14:24:14 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-15 15:10:00 +0100 |
commit | bfaa4cc043f349dc64203c3fb27d4010cfca7746 (patch) | |
tree | 017a44c5c981586cb0ec68727d6832dbd3c45220 /sw/inc/fmtftn.hxx | |
parent | fe1d3328997741b55202aca7b3dc566ca833a5f4 (diff) |
sw_redlinehide_3: use appropriate footnote number in text formatting
Add layout parameter to SwFormatFootnote::GetViewNumStr().
Change-Id: Iff9c9ff31d1793b66ba7e3ebdfa5cfe413324471
Diffstat (limited to 'sw/inc/fmtftn.hxx')
-rw-r--r-- | sw/inc/fmtftn.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/inc/fmtftn.hxx b/sw/inc/fmtftn.hxx index b6560544b12f..5c22c157fb49 100644 --- a/sw/inc/fmtftn.hxx +++ b/sw/inc/fmtftn.hxx @@ -32,6 +32,7 @@ namespace com { namespace sun { namespace star { class SwDoc; class SwTextFootnote; +class SwRootFrame; // ATT_FTN @@ -87,7 +88,8 @@ public: void GetFootnoteText( OUString& rStr ) const; /// Returns string to be displayed of footnote / endnote. - OUString GetViewNumStr( const SwDoc& rDoc, bool bInclStrs = false ) const; + OUString GetViewNumStr(const SwDoc& rDoc, SwRootFrame const* pLayout, + bool bInclStrings = false) const; css::uno::WeakReference<css::text::XFootnote> const& GetXFootnote() const { return m_wXFootnote; } |