diff options
author | Noel Power <noel.power@novell.com> | 2011-05-19 17:23:10 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-05-19 17:32:04 +0100 |
commit | 65e4e4360a33cc845c3d375bcb1e284cb32c8fb8 (patch) | |
tree | cae9b0706b2d98e57fb253783e7f43342aaf46f6 | |
parent | 59b5dcb1437cdf2d27742012b1d28a45e20a903f (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
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
-rw-r--r-- | writerfilter/source/ooxml/Handler.cxx | 2 |
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) |