[Libreoffice-commits] core.git: sw/source
László Németh
nemeth at numbertext.org
Tue Apr 16 06:47:47 PDT 2013
sw/source/core/txtnode/atrftn.cxx | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
New commits:
commit bf063d9dfab7ca16b1b7dff54ec9b1d47c24b997
Author: László Németh <nemeth at numbertext.org>
Date: Tue Apr 16 15:40:24 2013 +0200
fdo#40102 show full footnote text in index tooltip
Change-Id: I35acdaf4f62df7a1d375aed663c270e78ea70779
diff --git a/sw/source/core/txtnode/atrftn.cxx b/sw/source/core/txtnode/atrftn.cxx
index 93707eb..2b79b0a 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;
+ }
+ }
}
}
More information about the Libreoffice-commits
mailing list