diff options
author | László Németh <nemeth@numbertext.org> | 2013-04-16 15:40:24 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2013-04-16 15:46:24 +0200 |
commit | bf063d9dfab7ca16b1b7dff54ec9b1d47c24b997 (patch) | |
tree | 8d6d757cb7180a9be28584e687cce37e7d922ab0 /sw | |
parent | 4b45b7b3ea06cd9d172c438ed8f2507f8150e990 (diff) |
fdo#40102 show full footnote text in index tooltip
Change-Id: I35acdaf4f62df7a1d375aed663c270e78ea70779
Diffstat (limited to 'sw')
-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; + } + } } } |