summaryrefslogtreecommitdiff
path: root/include/ucbhelper/providerhelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/ucbhelper/providerhelper.hxx')
-rw-r--r--include/ucbhelper/providerhelper.hxx25
1 files changed, 5 insertions, 20 deletions
diff --git a/include/ucbhelper/providerhelper.hxx b/include/ucbhelper/providerhelper.hxx
index 95a7369bedd1..919a0909028f 100644
--- a/include/ucbhelper/providerhelper.hxx
+++ b/include/ucbhelper/providerhelper.hxx
@@ -25,7 +25,7 @@
#include <com/sun/star/ucb/XContentProvider.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp>
-#include <cppuhelper/weak.hxx>
+#include <cppuhelper/implbase.hxx>
#include <rtl/ref.hxx>
#include <ucbhelper/ucbhelperdllapi.h>
@@ -61,10 +61,10 @@ typedef std::vector< ContentImplHelperRef > ContentRefList;
* ( These set contains the properties added to a content using its
* XPropertyContainer interface )
*/
-class UCBHELPER_DLLPUBLIC ContentProviderImplHelper : public cppu::OWeakObject,
- public css::lang::XTypeProvider,
- public css::lang::XServiceInfo,
- public css::ucb::XContentProvider
+class UCBHELPER_DLLPUBLIC ContentProviderImplHelper :
+ public cppu::WeakImplHelper<
+ css::lang::XServiceInfo,
+ css::ucb::XContentProvider>
{
friend class ContentImplHelper;
@@ -135,21 +135,6 @@ public:
virtual ~ContentProviderImplHelper() override;
- // XInterface
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;
- virtual void SAL_CALL acquire()
- throw() override;
- virtual void SAL_CALL release()
- throw() override;
-
- // XTypeProvider
-
-
- virtual css::uno::Sequence< sal_Int8 > SAL_CALL
- getImplementationId() override;
- virtual css::uno::Sequence< css::uno::Type > SAL_CALL
- getTypes() override;
-
// XServiceInfo