diff options
Diffstat (limited to 'sw/source/filter/ww8/wrtww8.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtww8.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 8c6df1deafee..63adb9e6983d 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -2704,7 +2704,14 @@ void MSWordExportBase::WriteText() // no section breaks exported for Endnotes if ( rNd.IsTextNode() && m_nTextTyp != TXT_EDN ) - SectionBreaksAndFrames( *rNd.GetTextNode() ); + { + SwSoftPageBreakList breakList; + // if paragraph need to be split than handle section break somewhere + // else. + if( !NeedTextNodeSplit( *rNd.GetTextNode(), breakList) ) + SectionBreaksAndFrames( *rNd.GetTextNode() ); + } + // output the various types of nodes if ( rNd.IsContentNode() ) |