diff options
author | Eike Rathke <erack@redhat.com> | 2017-06-20 12:59:23 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-06-20 12:59:55 +0200 |
commit | 29f250c428953750ce89dec7ee961723478609c1 (patch) | |
tree | 5848c5482ad07d0f483744c672a85dd7d2d0b892 | |
parent | ea43d65bd3785a04a6dcf073611cee03ee289cee (diff) |
Resolves: tdf#107438 write <text:sender-initials> for fields
Only in <office:annotation> context write <loext:sender-initials>
Broken since
commit 5f8476c00f482ab5c8707de2ebdcd41faa4057fc
Date: Fri Dec 13 23:21:46 2013 +0100
and
commit 49f9694e34d07468cff4a7e4de332f11be3e0dd8
Date: Fri Dec 13 23:30:34 2013 +0100
Change-Id: I48b146b779878bf0faa5830a721559d8e864dd33
-rw-r--r-- | xmloff/source/text/txtflde.cxx | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx index cc2f785a2bb9..dcc878248bd1 100644 --- a/xmloff/source/text/txtflde.cxx +++ b/xmloff/source/text/txtflde.cxx @@ -2220,23 +2220,10 @@ void XMLTextFieldExport::ExportElement(enum XMLTokenEnum eElementName, if (eElementName != XML_TOKEN_INVALID) { // Element - if (eElementName == XML_SENDER_INITIALS) - { - if (SvtSaveOptions().GetODFDefaultVersion() > SvtSaveOptions::ODFVER_012) - { - SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_LO_EXT, - eElementName, false, false ); - // export content - GetExport().Characters(sContent); - } - } - else - { - SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_TEXT, - eElementName, false, false ); - // export content - GetExport().Characters(sContent); - } + SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_TEXT, + eElementName, false, false ); + // export content + GetExport().Characters(sContent); } else { // always export content GetExport().Characters(sContent); |