summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-06-05 21:51:45 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-06-06 09:22:34 +0200
commit5215a544dacc1acc1ddb6017df551b04dfc2f458 (patch)
treeb4f38dda2f74e8ac0badcc7b1901659308ef3aec
parent4bc06051d1bf484a6f98186f0a2d168b3d98b9cc (diff)
fdo#50139 do not cut first character of field text
Change-Id: Ia80e0bc0540259f9a752452ad677c645c97fc7f5 Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
-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 b4b53e563774..d1542c5b87dc 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 );
}