diff options
author | Andras Timar <atimar@suse.com> | 2012-06-06 23:15:19 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-06-06 23:20:19 +0200 |
commit | d56ad449084272e5ccc36444d5ce16e0b5e368a4 (patch) | |
tree | d3cefe41efc1ffcd870d4554763eb010a85e0c76 | |
parent | 95626fddef8a9ca5987b49c410f7f1374250a4a1 (diff) |
fdo#50144 put full reference text to selection field
Change-Id: I99a4a2a3fc6e20f9c8d35213609075f2269eab2f
-rw-r--r-- | sw/source/core/fields/expfld.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/fields/expfld.cxx b/sw/source/core/fields/expfld.cxx index 53a90d3f036b..9afe6075568d 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 ); } |