diff options
author | Andras Timar <atimar@suse.com> | 2012-06-05 21:51:45 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-06-05 21:53:27 +0200 |
commit | f2bcd32bfd92f85ad4d94b4e40542dc419b3e2c2 (patch) | |
tree | 4ad04e258debaff26e743fcddbcf562d851066bb /sw | |
parent | 3da8f3680556e0163f660a0a159930337c8c32ff (diff) |
fdo#50139 do not cut first character of field text
Change-Id: Ia80e0bc0540259f9a752452ad677c645c97fc7f5
Diffstat (limited to 'sw')
-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 4888bd8b8a9d..53a90d3f036b 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( 1, (*pF->GetTxtFld()->GetStart()) ), + pNd->GetExpandTxt( 0, (*pF->GetTxtFld()->GetStart()) + 1 ), ((SwSetExpField*)pF->GetFld())->GetSeqNumber() ); rList.InsertSort( pNew ); } |