diff options
author | David Tardon <dtardon@redhat.com> | 2016-09-06 16:12:40 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-09-09 07:30:30 +0200 |
commit | 32ccb4ea863651c22bf33cc15012971d2a2d2810 (patch) | |
tree | 83d5cdf806d72e9185b9177a558e0d5ebba373ad /include/xmloff/xmlictxt.hxx | |
parent | upload libzmf 0.0.1 (diff) | |
download | core-32ccb4ea863651c22bf33cc15012971d2a2d2810.tar.gz core-32ccb4ea863651c22bf33cc15012971d2a2d2810.zip |
resolve the snafu with 2 separate refcounted bases
Change-Id: Ia275596d54ea27436f03d01297fb78b6ca09e8a6
Diffstat (limited to 'include/xmloff/xmlictxt.hxx')
-rw-r--r-- | include/xmloff/xmlictxt.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/xmloff/xmlictxt.hxx b/include/xmloff/xmlictxt.hxx index cccfd9369c1a..c9d987e2fca1 100644 --- a/include/xmloff/xmlictxt.hxx +++ b/include/xmloff/xmlictxt.hxx @@ -34,8 +34,7 @@ class SvXMLNamespaceMap; class SvXMLImport; -class XMLOFF_DLLPUBLIC SvXMLImportContext : public SvRefBase, - public ::cppu::WeakImplHelper1< ::css::xml::sax::XFastContextHandler > +class XMLOFF_DLLPUBLIC SvXMLImportContext : public ::cppu::WeakImplHelper1< ::css::xml::sax::XFastContextHandler > { friend class SvXMLImport; @@ -125,9 +124,13 @@ public: // support multiple images and to rescue evtl. GluePoints imported with one of the // to be deprecated contents virtual void onDemandRescueUsefulDataFromTemporary( const SvXMLImportContext& rCandidate ); + + void AddFirstRef(); + void AddNextRef(); + void ReleaseRef(); }; -typedef tools::SvRef<SvXMLImportContext> SvXMLImportContextRef; +typedef css::uno::Reference<SvXMLImportContext> SvXMLImportContextRef; #endif // INCLUDED_XMLOFF_XMLICTXT_HXX |