summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/fldbas.cxx
diff options
context:
space:
mode:
authorXisco Faulí <xiscofauli@libreoffice.org>2019-09-24 18:48:29 +0200
committerXisco Faulí <xiscofauli@libreoffice.org>2019-09-24 20:59:51 +0200
commit332a37ebf3eeb7546ef0972035d72c6e836bcc7d (patch)
treec21435436bf4f065afffe88cdc4f244e17af7b48 /sw/source/core/fields/fldbas.cxx
parent3912f173c71e4e7449c59c57a027203967f45673 (diff)
Revert "tdf#107784: DOCX Import: Show citation's title in fields"
This reverts commit 417d993b8b8a86c019758ee0850e4b42967e2afa. it breaks the bibliography entries, so it needs more work than I initially thought. Reverting for the time being. Change-Id: Idd75fd6794dedc5f2d4b7f1c262ba8d12aee5036 Reviewed-on: https://gerrit.libreoffice.org/79472 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/source/core/fields/fldbas.cxx')
-rw-r--r--sw/source/core/fields/fldbas.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/fields/fldbas.cxx b/sw/source/core/fields/fldbas.cxx
index 0d8894141506..c46e5bfd3824 100644
--- a/sw/source/core/fields/fldbas.cxx
+++ b/sw/source/core/fields/fldbas.cxx
@@ -418,7 +418,7 @@ SwField::ExpandField(bool const bCached, SwRootFrame const*const pLayout) const
if (GetTypeId() == SwFieldTypesEnum::Authority)
{
const SwAuthorityField* pAuthorityField = static_cast<const SwAuthorityField*>(this);
- m_Cache = pAuthorityField->ExpandCitation(AUTH_FIELD_TITLE, pLayout);
+ m_Cache = pAuthorityField->ConditionalExpandAuthIdentifier(pLayout);
}
else
m_Cache = ExpandImpl(pLayout);