summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-06-06 23:15:19 +0200
committerAndras Timar <atimar@suse.com>2012-06-06 23:20:19 +0200
commitd56ad449084272e5ccc36444d5ce16e0b5e368a4 (patch)
treed3cefe41efc1ffcd870d4554763eb010a85e0c76 /sw
parent95626fddef8a9ca5987b49c410f7f1374250a4a1 (diff)
fdo#50144 put full reference text to selection field
Change-Id: I99a4a2a3fc6e20f9c8d35213609075f2269eab2f
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/fields/expfld.cxx2
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 );
}