[Libreoffice-commits] .: sw/source
Noel Power
noelp at kemper.freedesktop.org
Mon May 30 04:14:46 PDT 2011
sw/source/core/fields/expfld.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 654b0a38b248b6f9e0a70e99d8065a155bb15d53
Author: Rob Snelders <programming at ertai.nl>
Date: Sat May 28 20:37:08 2011 +0200
Cross-References-Tab now displays the items correctly. fdo#34872
diff --git a/sw/source/core/fields/expfld.cxx b/sw/source/core/fields/expfld.cxx
index 07e9bdd..ac02cf1 100644
--- a/sw/source/core/fields/expfld.cxx
+++ b/sw/source/core/fields/expfld.cxx
@@ -609,7 +609,7 @@ sal_uInt16 SwSetExpFieldType::GetSeqFldList( SwSeqFldList& rList )
pNd->GetNodes().IsDocNodes() )
{
_SeqFldLstElem* pNew = new _SeqFldLstElem(
- pNd->GetExpandTxt( 0, (*pF->GetTxtFld()->GetStart()) + 1 ),
+ pNd->GetExpandTxt( 1, (*pF->GetTxtFld()->GetStart()) ),
((SwSetExpField*)pF->GetFld())->GetSeqNumber() );
rList.InsertSort( pNew );
}
More information about the Libreoffice-commits
mailing list