Kaydet (Commit) d2c4a305 authored tarafından Michael Stahl's avatar Michael Stahl

sw_redlinehide: trivial node conversions in headers

Change-Id: I74607928dbc8e07df0bba8f3179797735f37a92a
üst e297c601
...@@ -776,7 +776,8 @@ inline TextFrameIndex SwTextFormatInfo::GetReformatStart() const ...@@ -776,7 +776,8 @@ inline TextFrameIndex SwTextFormatInfo::GetReformatStart() const
inline const SwAttrSet& SwTextFormatInfo::GetCharAttr() const inline const SwAttrSet& SwTextFormatInfo::GetCharAttr() const
{ {
return GetTextFrame()->GetTextNode()->GetSwAttrSet(); // sw_redlinehide: this is used for numbering/footnote number portions, so:
return GetTextFrame()->GetTextNodeForParaProps()->GetSwAttrSet();
} }
inline void SwTextFormatInfo::SetParaFootnote() inline void SwTextFormatInfo::SetParaFootnote()
......
...@@ -152,7 +152,7 @@ public: ...@@ -152,7 +152,7 @@ public:
void CtorInitTextFormatter( SwTextFrame *pFrame, SwTextFormatInfo *pInf ); void CtorInitTextFormatter( SwTextFrame *pFrame, SwTextFormatInfo *pInf );
SwTextFormatter(SwTextFrame *pTextFrame, SwTextFormatInfo *pTextFormatInf) SwTextFormatter(SwTextFrame *pTextFrame, SwTextFormatInfo *pTextFormatInf)
: SwTextPainter(pTextFrame->GetTextNode()) : SwTextPainter(pTextFrame->GetTextNodeFirst())
, bUnclipped(false) , bUnclipped(false)
{ {
CtorInitTextFormatter( pTextFrame, pTextFormatInf ); CtorInitTextFormatter( pTextFrame, pTextFormatInf );
......
...@@ -40,7 +40,7 @@ protected: ...@@ -40,7 +40,7 @@ protected:
public: public:
SwTextPainter(SwTextFrame *pTextFrame, SwTextPaintInfo *pTextPaintInf) SwTextPainter(SwTextFrame *pTextFrame, SwTextPaintInfo *pTextPaintInf)
: SwTextCursor(pTextFrame->GetTextNode()) : SwTextCursor(pTextFrame->GetTextNodeFirst())
{ {
CtorInitTextPainter( pTextFrame, pTextPaintInf ); CtorInitTextPainter( pTextFrame, pTextPaintInf );
} }
......
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