[Libreoffice-commits] .: sw/source

Andras Timar timar at kemper.freedesktop.org
Wed Jun 6 14:17:31 PDT 2012


 sw/source/core/fields/expfld.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 10837b669c9fe3f6b1e1905bfbb855ca02497eb7
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