summaryrefslogtreecommitdiff
path: root/xmlhelp/source
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-03-04 15:22:44 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-03-05 09:44:18 -0600
commit2ef98b947e8babddeaf5b67e580ba2f184c0e157 (patch)
tree8d0e6fd2a00d5df73aed0580a4bcc7f9a700f380 /xmlhelp/source
parentfbf7bd25b0d6e4b37d36f0fa227bf20faf0d6db1 (diff)
kill XINTERFACE_IMPL_6
Change-Id: I1445524d3c15a3dec881c1499910779b9d61b840
Diffstat (limited to 'xmlhelp/source')
-rw-r--r--xmlhelp/source/cxxhelp/provider/provider.cxx31
1 files changed, 24 insertions, 7 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx
index 3bc85c880702..40142c494955 100644
--- a/xmlhelp/source/cxxhelp/provider/provider.cxx
+++ b/xmlhelp/source/cxxhelp/provider/provider.cxx
@@ -62,14 +62,31 @@ ContentProvider::~ContentProvider()
}
// XInterface methods.
+void SAL_CALL ContentProvider::acquire()
+ throw()
+{
+ OWeakObject::acquire();
+}
-XINTERFACE_IMPL_6( ContentProvider,
- lang::XTypeProvider,
- lang::XServiceInfo,
- ucb::XContentProvider,
- lang::XComponent,
- lang::XEventListener, /* base of XContainerListener */
- container::XContainerListener);
+void SAL_CALL ContentProvider::release()
+ throw()
+{
+ OWeakObject::release();
+}
+
+css::uno::Any SAL_CALL ContentProvider::queryInterface( const css::uno::Type & rType )
+ throw( css::uno::RuntimeException, std::exception )
+{
+ css::uno::Any aRet = cppu::queryInterface( rType,
+ (static_cast< lang::XTypeProvider* >(this)),
+ (static_cast< lang::XServiceInfo* >(this)),
+ (static_cast< ucb::XContentProvider* >(this)),
+ (static_cast< lang::XComponent* >(this)),
+ (static_cast< lang::XEventListener* >(this)),
+ (static_cast< container::XContainerListener* >(this))
+ );
+ return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
+}
// XTypeProvider methods.