sw/source/core/fields/expfld.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7f7dec9b42d347e06b71f81f1e18cbe881e16927 Author: Andras Timar <ati...@suse.com> Date: Wed Jun 6 23:15:19 2012 +0200 fdo#50144 put full reference text to selection field Change-Id: I99a4a2a3fc6e20f9c8d35213609075f2269eab2f Signed-off-by: Miklos Vajna <vmik...@suse.cz> diff --git a/sw/source/core/fields/expfld.cxx b/sw/source/core/fields/expfld.cxx index d1542c5..ec54fe5 100644 --- a/sw/source/core/fields/expfld.cxx +++ b/sw/source/core/fields/expfld.cxx @@ -607,7 +607,7 @@ sal_uInt16 SwSetExpFieldType::GetSeqFldList( SwSeqFldList& rList ) pNd->GetNodes().IsDocNodes() ) { _SeqFldLstElem* pNew = new _SeqFldLstElem( - pNd->GetExpandTxt( 0, (*pF->GetTxtFld()->GetStart()) + 1 ), + pNd->GetExpandTxt( 0, USHRT_MAX ), ((SwSetExpField*)pF->GetFld())->GetSeqNumber() ); rList.InsertSort( pNew ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits