summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-09-20 15:26:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-09-21 15:03:17 +0200
commit4ca17132933b4d791bada10451f93fb1d28bf3be (patch)
treece3fb8b36f9a992abfa89e5a2c00ca79c9e9d1ac /xmloff
parentcb14175ee3a2122041bbd831b968cfca7c1036b5 (diff)
ofz#3445 exception thrown through XMLImpRubyContext_Impl dtor
#0 in __cxa_throw () at /lib64/libstdc++.so.6 #1 in SwXFootnote::createTextCursorByRange(com::sun::star::uno::Reference<com::sun::star::text::XTextRange> const&) (this=0xa21ef0, xTextPosition=uno::Reference to (SwXTextRange *) 0xa18cd8) at core/sw/source/core/unocore/unoftn.cxx:459 #2 in XMLImpRubyContext_Impl::~XMLImpRubyContext_Impl() (this=0xa18bf0, __in_chrg=<optimized out>) core/xmloff/source/text/txtparai.cxx:641 #3 in XMLImpRubyContext_Impl::~XMLImpRubyContext_Impl() (this=0xa18bf0, __in_chrg=<optimized out>) core/xmloff/source/text/txtparai.cxx:646 #4 in cppu::OWeakObject::release() (this=0xa18bf0) at core/cppuhelper/source/weak.cxx:232 Change-Id: I071dc65751724f96b2386dea4f26a6ef476f4ef6 Reviewed-on: https://gerrit.libreoffice.org/42551 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtparai.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index ceeb57c9c260..5b32166d0963 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -540,7 +540,7 @@ public:
XMLHints_Impl& rHints,
bool& rIgnLeadSpace );
- virtual ~XMLImpRubyContext_Impl() override;
+ virtual void EndElement() override;
virtual SvXMLImportContext *CreateChildContext(
sal_uInt16 nPrefix, const OUString& rLocalName,
@@ -633,7 +633,7 @@ XMLImpRubyContext_Impl::XMLImpRubyContext_Impl(
}
}
-XMLImpRubyContext_Impl::~XMLImpRubyContext_Impl()
+void XMLImpRubyContext_Impl::EndElement()
{
const rtl::Reference < XMLTextImportHelper > xTextImport(
GetImport().GetTextImport());