diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-21 12:12:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-22 11:01:53 +0200 |
commit | 442df6cf8345f8029d5a3b470bc4981a5aa2bf20 (patch) | |
tree | 9efa6f2b29f41d79f968d1e8ad2588c323305776 /linguistic | |
parent | a411d7729ab2bed05c3c5d22a8cbcf5dde034b91 (diff) |
ofz: don't leak in face of exceptions
Change-Id: Ic15590a13bd3770ee5dd7db76b21c830a4fe73e2
Reviewed-on: https://gerrit.libreoffice.org/42587
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 'linguistic')
-rw-r--r-- | linguistic/source/convdicxml.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx index 7829d2c891f4..e4bc13ed3597 100644 --- a/linguistic/source/convdicxml.cxx +++ b/linguistic/source/convdicxml.cxx @@ -96,7 +96,7 @@ public: // SvXMLImportContext virtual void Characters( const OUString &rChars ) override; - virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > &rxAttrList) override; + virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > &rxAttrList) override; }; @@ -117,7 +117,7 @@ public: // SvXMLImportContext virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; - virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > &rxAttrList ) override; + virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > &rxAttrList ) override; }; @@ -136,7 +136,7 @@ public: // SvXMLImportContext virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; - virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > &rxAttrList ) override; + virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > &rxAttrList ) override; const OUString & GetLeftText() const { return aLeftText; } }; @@ -160,7 +160,7 @@ public: // SvXMLImportContext virtual void EndElement() override; - virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > &rxAttrList ) override; + virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > &rxAttrList ) override; virtual void Characters( const OUString &rChars ) override; const OUString & GetRightText() const { return aRightText; } @@ -180,7 +180,7 @@ void ConvDicXMLImportContext::Characters(const OUString & /*rChars*/) } -SvXMLImportContext * ConvDicXMLImportContext::CreateChildContext( +SvXMLImportContextRef ConvDicXMLImportContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > & /*rxAttrList*/ ) { @@ -215,7 +215,7 @@ void ConvDicXMLDictionaryContext_Impl::StartElement( } -SvXMLImportContext * ConvDicXMLDictionaryContext_Impl::CreateChildContext( +SvXMLImportContextRef ConvDicXMLDictionaryContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > & /*rxAttrList*/ ) { @@ -228,7 +228,7 @@ SvXMLImportContext * ConvDicXMLDictionaryContext_Impl::CreateChildContext( } -SvXMLImportContext * ConvDicXMLEntryTextContext_Impl::CreateChildContext( +SvXMLImportContextRef ConvDicXMLEntryTextContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > & /*rxAttrList*/ ) { @@ -258,7 +258,7 @@ void ConvDicXMLEntryTextContext_Impl::StartElement( } -SvXMLImportContext * ConvDicXMLRightTextContext_Impl::CreateChildContext( +SvXMLImportContextRef ConvDicXMLRightTextContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > & /*rxAttrList*/ ) { |