summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml/qnametostr.xsl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-11-23 09:42:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-11-23 10:06:16 +0000
commit4ee0ee4971119b0460fc3e7819a23acd34202dc4 (patch)
tree06ef11810ec8e64fc8d35b46aa95455fb41a4488 /writerfilter/source/ooxml/qnametostr.xsl
parentb5a89ad137d0750b65f0820ebc9fa4e13a84067b (diff)
split qnametostr up to try and make .o's small enough for ppc64
i.e. relocation truncated to fix: R_PPC64_TOC16_DS while I'm at it merge the standalone header/footer files into the .xslt and simplify the makefile. Change-Id: Iee0e9b5dd96868f49f1bed22fb5dc6d28c8cef81
Diffstat (limited to 'writerfilter/source/ooxml/qnametostr.xsl')
-rw-r--r--writerfilter/source/ooxml/qnametostr.xsl8
1 files changed, 7 insertions, 1 deletions
diff --git a/writerfilter/source/ooxml/qnametostr.xsl b/writerfilter/source/ooxml/qnametostr.xsl
index 1dc689f7e3e2..a7a7d6c4aa93 100644
--- a/writerfilter/source/ooxml/qnametostr.xsl
+++ b/writerfilter/source/ooxml/qnametostr.xsl
@@ -113,8 +113,14 @@ void ooxmlidsToXML(::std::ostream &amp; out)
</xsl:template>
<xsl:template match="/">
+#include "ooxml/resourceids.hxx"
+#include "resourcemodel/QNameToString.hxx"
+
+namespace writerfilter
+{
<xsl:call-template name="qnametostr"/>
<xsl:call-template name="ooxmlidstoxml"/>
+}
</xsl:template>
-</xsl:stylesheet> \ No newline at end of file
+</xsl:stylesheet>