summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-05-19 16:02:59 +0100
committerNoel Power <noel.power@novell.com>2011-05-19 16:07:43 +0100
commitac80fce47404c0843c372336ab700d62297f1647 (patch)
tree968a11ea32772062f71ef8e1415097dee3fb845c /writerfilter/source/ooxml
parent6c30a0d5c26314eeb4d6a10a9d661021c111e076 (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=cdd636907675d538ca10d479afc538ce3800e729http://cgit.freedesktop.org/libreoffice/filters/commit/?id=cdd636907675d538ca10d479afc538ce3800e729 previously OOXMLHyperlinkHandler::~OOXMLHyperlinkHandler()'s call to resulted in the OOXMLFastContextHandlerStream::lcl_character method getting called which in turn called the OOXMLFastContextHandler::text method. This no longer happen so we call the text method directly now
Diffstat (limited to 'writerfilter/source/ooxml')
-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)