summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-06-11 18:41:18 +0200
committerAndras Timar <andras.timar@collabora.com>2015-06-11 22:08:02 +0200
commit343d16a3527dd1d8487af040987095f7199ff010 (patch)
tree2c7be2c20667b22046602e78a3635b62fe4c6e49
parentbc00e475d45c0e0cf44dc46c67308c152a2b3f70 (diff)
tdf#90926 remove footnote mark from cross reference
Change-Id: I0354bca230395d8061bb6d9ce9f9b7a6229b73a7 Reviewed-on: https://gerrit.libreoffice.org/16234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 5956cbcbd4b59186d23a34f9d56892266482f251)
-rw-r--r--sw/source/core/fields/reffld.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/fields/reffld.cxx b/sw/source/core/fields/reffld.cxx
index c845ed0f2d5e..83b11d5194e3 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() )