diff options
-rw-r--r-- | sw/source/core/txtnode/atrftn.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/atrftn.cxx b/sw/source/core/txtnode/atrftn.cxx index 93707ebbd328..2b79b0ad56fe 100644 --- a/sw/source/core/txtnode/atrftn.cxx +++ b/sw/source/core/txtnode/atrftn.cxx @@ -172,8 +172,16 @@ void SwFmtFtn::GetFtnText( XubString& rStr ) const if( !pCNd ) pCNd = aIdx.GetNodes().GoNext( &aIdx ); - if( pCNd->IsTxtNode() ) + if( pCNd->IsTxtNode() ) { rStr = ((SwTxtNode*)pCNd)->GetExpandTxt(); + + ++aIdx; + while ( !aIdx.GetNode().IsEndNode() ) { + if ( aIdx.GetNode().IsTxtNode() ) + rStr += OUString(" ") + ((SwTxtNode*)(aIdx.GetNode().GetTxtNode()))->GetExpandTxt(); + ++aIdx; + } + } } } |