[Libreoffice-commits] core.git: xmloff/source

Caolán McNamara caolanm at redhat.com
Thu Sep 21 13:03:46 UTC 2017


 xmloff/source/text/txtparai.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4ca17132933b4d791bada10451f93fb1d28bf3be
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Sep 20 15:26:47 2017 +0100

    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 at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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());


More information about the Libreoffice-commits mailing list