From bf063d9dfab7ca16b1b7dff54ec9b1d47c24b997 Mon Sep 17 00:00:00 2001 From: László Németh Date: Tue, 16 Apr 2013 15:40:24 +0200 Subject: fdo#40102 show full footnote text in index tooltip Change-Id: I35acdaf4f62df7a1d375aed663c270e78ea70779 --- sw/source/core/txtnode/atrftn.cxx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sw') 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; + } + } } } -- cgit