[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sw/source
Miklos Vajna
vmiklos at kemper.freedesktop.org
Wed Jun 6 00:23:52 PDT 2012
sw/source/core/fields/expfld.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5215a544dacc1acc1ddb6017df551b04dfc2f458
Author: Andras Timar <atimar at suse.com>
Date: Tue Jun 5 21:51:45 2012 +0200
fdo#50139 do not cut first character of field text
Change-Id: Ia80e0bc0540259f9a752452ad677c645c97fc7f5
Signed-off-by: Miklos Vajna <vmiklos at suse.cz>
diff --git a/sw/source/core/fields/expfld.cxx b/sw/source/core/fields/expfld.cxx
index b4b53e5..d1542c5 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 );
}
More information about the Libreoffice-commits
mailing list