[Libreoffice-commits] .: writerfilter/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 29 07:43:14 PDT 2012
writerfilter/source/ooxml/factoryimpl_ns.xsl | 7 -------
writerfilter/source/ooxml/model.xml | 2 +-
2 files changed, 1 insertion(+), 8 deletions(-)
New commits:
commit f5d972265a4fec02639bbd68ecb0a6cd4f4253a7
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Mon Oct 29 15:39:03 2012 +0100
Revert "n#778140 fix import of w:fldSimple character properties"
This reverts commit 393262b325338b568c86b9183f37fc950cfbf127. It turns
out that this hack is not really needed for n#778140, but it causes
problems, for example in case of n#775899.
Change-Id: I00b9f7112f951935450c683c5942b0d6c2b7fee2
diff --git a/writerfilter/source/ooxml/factoryimpl_ns.xsl b/writerfilter/source/ooxml/factoryimpl_ns.xsl
index 407f405..bd913d6 100644
--- a/writerfilter/source/ooxml/factoryimpl_ns.xsl
+++ b/writerfilter/source/ooxml/factoryimpl_ns.xsl
@@ -494,13 +494,6 @@ CreateElementMapPointer </xsl:text>
<xsl:text>
pHandler->endField();</xsl:text>
</xsl:when>
- <xsl:when test="@action='simplefieldend'">
- <xsl:text>
- pHandler->endField();
- pHandler->startCharacterGroup();
- pHandler->text("");
- pHandler->endCharacterGroup();</xsl:text>
- </xsl:when>
<xsl:when test="@action='printproperty'">
<xsl:text>
dynamic_cast<OOXMLFastContextHandlerStream*>(pHandler)->sendProperty(</xsl:text>
diff --git a/writerfilter/source/ooxml/model.xml b/writerfilter/source/ooxml/model.xml
index bf25aa3..d961f87 100644
--- a/writerfilter/source/ooxml/model.xml
+++ b/writerfilter/source/ooxml/model.xml
@@ -22153,7 +22153,7 @@
<action name="start" action="printproperty" sendtokenid="ooxml:CT_SimpleField_instr"/>
<action name="start" action="endCharacterGroup"/>
<action name="start" action="fieldsep"/>
- <action name="end" action="simplefieldend"/>
+ <action name="end" action="fieldend"/>
</resource>
<resource name="ST_FldCharType" resource="List">
<value name="begin" tokenid="ooxml:Value_ST_FldCharType_begin">begin</value>
More information about the Libreoffice-commits
mailing list