summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2019-01-14 15:12:16 +0100
committerAndras Timar <andras.timar@collabora.com>2019-01-17 13:36:48 +0100
commit38ef8e9eba55b55a64488c7e452ec24a7a360a05 (patch)
tree414df9ddee2fca62430814fb910ae9597f7b1df4 /sw/source/filter
parent6ab71fa2d138daa80cba8fd77419fbf2ec89b794 (diff)
tdf#122186: Fix broken Input list after RT in DOCX format
We should not write out the text of the field, because it confuses the import code and it's unneeded anyway. Reviewed-on: https://gerrit.libreoffice.org/66338 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 35ea8fc24ae749b8a87b7ddb5df22ecc4f58cfd3) Change-Id: Id114f74c5d135e9fe6cb059e25ebf324464c8362 Reviewed-on: https://gerrit.libreoffice.org/66378 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 67846f34f73a..04f491205700 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -1921,7 +1921,7 @@ void DocxAttributeOutput::EndField_Impl( const SwTextNode* pNode, sal_Int32 nPos
sExpand = static_cast<SwAuthorityField const*>(rInfos.pField.get())
->ExpandCitation(AUTH_FIELD_TITLE);
}
- else
+ else if(rInfos.eType != ww::eFORMDROPDOWN)
{
sExpand = rInfos.pField->ExpandField( true );
}