[Libreoffice-commits] .: Branch 'libreoffice-3-6' - sw/source
Andras Timar
timar at kemper.freedesktop.org
Wed Jun 6 14:19:07 PDT 2012
sw/source/core/fields/expfld.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d56ad449084272e5ccc36444d5ce16e0b5e368a4
Author: Andras Timar <atimar at suse.com>
Date: Wed Jun 6 23:15:19 2012 +0200
fdo#50144 put full reference text to selection field
Change-Id: I99a4a2a3fc6e20f9c8d35213609075f2269eab2f
diff --git a/sw/source/core/fields/expfld.cxx b/sw/source/core/fields/expfld.cxx
index 53a90d3..9afe607 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 );
}
More information about the Libreoffice-commits
mailing list