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
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()
......
......@@ -152,7 +152,7 @@ public:
void CtorInitTextFormatter( SwTextFrame *pFrame, SwTextFormatInfo *pInf );
SwTextFormatter(SwTextFrame *pTextFrame, SwTextFormatInfo *pTextFormatInf)
: SwTextPainter(pTextFrame->GetTextNode())
: SwTextPainter(pTextFrame->GetTextNodeFirst())
, bUnclipped(false)
{
CtorInitTextFormatter( pTextFrame, pTextFormatInf );
......
......@@ -40,7 +40,7 @@ protected:
public:
SwTextPainter(SwTextFrame *pTextFrame, SwTextPaintInfo *pTextPaintInf)
: SwTextCursor(pTextFrame->GetTextNode())
: SwTextCursor(pTextFrame->GetTextNodeFirst())
{
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