summaryrefslogtreecommitdiffstats
path: root/include/xmloff/xmlictxt.hxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-09-06 16:12:40 +0200
committerDavid Tardon <dtardon@redhat.com>2016-09-09 07:30:30 +0200
commit32ccb4ea863651c22bf33cc15012971d2a2d2810 (patch)
tree83d5cdf806d72e9185b9177a558e0d5ebba373ad /include/xmloff/xmlictxt.hxx
parentupload libzmf 0.0.1 (diff)
downloadcore-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.hxx9
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