summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpcontent.cxx
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 /ucb/source/ucp/ftp/ftpcontent.cxx
parentfbf7bd25b0d6e4b37d36f0fa227bf20faf0d6db1 (diff)
kill XINTERFACE_IMPL_6
Change-Id: I1445524d3c15a3dec881c1499910779b9d61b840
Diffstat (limited to 'ucb/source/ucp/ftp/ftpcontent.cxx')
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.cxx32
1 files changed, 23 insertions, 9 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx
index cbb7a5e9a4e6..e4caebb8a607 100644
--- a/ucb/source/ucp/ftp/ftpcontent.cxx
+++ b/ucb/source/ucp/ftp/ftpcontent.cxx
@@ -130,17 +130,31 @@ FTPContent::~FTPContent()
// XInterface methods.
+void SAL_CALL FTPContent::acquire()
+ throw()
+{
+ OWeakObject::acquire();
+}
+void SAL_CALL FTPContent::release()
+ throw()
+{
+ OWeakObject::release();
+}
-XINTERFACE_IMPL_6( FTPContent,
- XTypeProvider,
- XServiceInfo,
- XContent,
- XCommandProcessor,
- XContentCreator,
- XChild);
-
-
+css::uno::Any SAL_CALL FTPContent::queryInterface( const css::uno::Type & rType )
+ throw( css::uno::RuntimeException, std::exception )
+{
+ css::uno::Any aRet = cppu::queryInterface( rType,
+ (static_cast< XTypeProvider* >(this)),
+ (static_cast< XServiceInfo* >(this)),
+ (static_cast< XContent* >(this)),
+ (static_cast< XCommandProcessor* >(this)),
+ (static_cast< XContentCreator* >(this)),
+ (static_cast< XChild* >(this))
+ );
+ return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
+}
// XTypeProvider methods.