[Libreoffice-commits] core.git: sw/source

Andras Timar andras.timar at collabora.com
Thu Jun 11 13:03:02 PDT 2015


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

New commits:
commit 5956cbcbd4b59186d23a34f9d56892266482f251
Author: Andras Timar <andras.timar at collabora.com>
Date:   Thu Jun 11 18:41:18 2015 +0200

    tdf#90926 remove footnote mark from cross reference
    
    Change-Id: I0354bca230395d8061bb6d9ce9f9b7a6229b73a7
    Reviewed-on: https://gerrit.libreoffice.org/16234
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/sw/source/core/fields/reffld.cxx b/sw/source/core/fields/reffld.cxx
index f520aea6..d0cc207 100644
--- a/sw/source/core/fields/reffld.cxx
+++ b/sw/source/core/fields/reffld.cxx
@@ -390,7 +390,7 @@ void SwGetRefField::UpdateField( const SwTextField* pFieldTextAttr )
 
             if( nStart != nEnd ) // a section?
             {
-                sText = pTextNd->GetExpandText( nStart, nEnd - nStart );
+                sText = pTextNd->GetExpandText( nStart, nEnd - nStart, false, false, false, false );
 
                 // remove all special characters (replace them with blanks)
                 if( !sText.isEmpty() )


More information about the Libreoffice-commits mailing list