summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml/Handler.cxx
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-05-19 17:23:10 +0100
committerNoel Power <noel.power@novell.com>2011-05-19 17:25:12 +0100
commitcb9334a1a9ee687b999712f83954bae2361f8032 (patch)
treef2e363fb12c9dffe68b72b84c21d90e8eaab5f3d /writerfilter/source/ooxml/Handler.cxx
parentd5aaa5b473dde529f3aef9c1e85c3b86dbe620c0 (diff)
fix for fod#37367 ( docx import of hyperlinks )
this fix is a companion fix for the change made below http://cgit.freedesktop.org/libreoffice/filters/commit/?id=cdd636907675d538ca10d479afc538ce3800e729 previously OOXMLHyperlinkHandler::~OOXMLHyperlinkHandler()'s call resulted in the OOXMLFastContextHandlerStream::lcl_character method getting called which in turn called the OOXMLFastContextHandler::text method. This no longer happens so we call the text method directly now
Diffstat (limited to 'writerfilter/source/ooxml/Handler.cxx')
-rw-r--r--writerfilter/source/ooxml/Handler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/ooxml/Handler.cxx b/writerfilter/source/ooxml/Handler.cxx
index cad510a6e..0f3a2a8dd 100644
--- a/writerfilter/source/ooxml/Handler.cxx
+++ b/writerfilter/source/ooxml/Handler.cxx
@@ -309,7 +309,7 @@ OOXMLHyperlinkHandler::~OOXMLHyperlinkHandler()
sReturn += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\""));
sReturn += mFieldCode;
- mpFastContext->characters(sReturn);
+ mpFastContext->text(sReturn);
}
void OOXMLHyperlinkHandler::attribute(Id name, Value & val)