summaryrefslogtreecommitdiff
path: root/include/ucbhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-07 14:36:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-08 08:25:43 +0200
commitc1c619f4b087cc4e26866a5f3d591bb610158d66 (patch)
tree31877ca5e76fdd13e67e879633cc034c9250d78b /include/ucbhelper
parentd3883e67bfe9f2889690b435bc57273c22e327f7 (diff)
use cppu::WeakImplHelper in ContentIdentifier
Change-Id: Id9c0d5d1f69c516efdf45b070982bdf341e86ce8 Reviewed-on: https://gerrit.libreoffice.org/80401 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/ucbhelper')
-rw-r--r--include/ucbhelper/contentidentifier.hxx20
1 files changed, 2 insertions, 18 deletions
diff --git a/include/ucbhelper/contentidentifier.hxx b/include/ucbhelper/contentidentifier.hxx
index 093544c2b6da..85ba76570032 100644
--- a/include/ucbhelper/contentidentifier.hxx
+++ b/include/ucbhelper/contentidentifier.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_UCBHELPER_CONTENTIDENTIFIER_HXX
#define INCLUDED_UCBHELPER_CONTENTIDENTIFIER_HXX
-#include <cppuhelper/weak.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/ucb/XContentIdentifier.hpp>
#include <ucbhelper/ucbhelperdllapi.h>
@@ -40,28 +40,12 @@ struct ContentIdentifier_Impl;
* be done, because URL schemes are never case sensitive.
*/
class UCBHELPER_DLLPUBLIC ContentIdentifier :
- public cppu::OWeakObject,
- public css::lang::XTypeProvider,
- public css::ucb::XContentIdentifier
+ public cppu::WeakImplHelper<css::ucb::XContentIdentifier>
{
public:
ContentIdentifier( const OUString& rURL );
virtual ~ContentIdentifier() 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;
-
// XContentIdentifier
virtual OUString SAL_CALL
getContentIdentifier() override;