diff options
Diffstat (limited to 'sw/inc/ftninfo.hxx')
-rw-r--r-- | sw/inc/ftninfo.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/ftninfo.hxx b/sw/inc/ftninfo.hxx index d798a4517770..adbc7a7e9499 100644 --- a/sw/inc/ftninfo.hxx +++ b/sw/inc/ftninfo.hxx @@ -33,6 +33,7 @@ class SwDoc; class SW_DLLPUBLIC SwEndNoteInfo : public SwClient { mutable SwMultiDepend aDepends; + mutable SwTextFormatColl* pTextFormatColl; mutable SwPageDesc* pPageDesc; mutable SwCharFormat* pCharFormat; mutable SwCharFormat* pAnchorFormat; @@ -52,7 +53,7 @@ public: bool DependsOn(const SwPageDesc*) const; void SetFootnoteTextColl(SwTextFormatColl& rColl); - SwTextFormatColl* GetFootnoteTextColl() const { return const_cast<SwTextFormatColl*>(static_cast<const SwTextFormatColl*>(GetRegisteredIn())); } // can be 0. + SwTextFormatColl* GetFootnoteTextColl() const { return pTextFormatColl; } // can be 0. SwCharFormat* GetCharFormat(SwDoc &rDoc) const; void SetCharFormat( SwCharFormat* ); |