summaryrefslogtreecommitdiff
path: root/framework/inc/services/uriabbreviation.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/services/uriabbreviation.hxx')
-rw-r--r--framework/inc/services/uriabbreviation.hxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/framework/inc/services/uriabbreviation.hxx b/framework/inc/services/uriabbreviation.hxx
index 36c9b93e3213..4ba644f1148e 100644
--- a/framework/inc/services/uriabbreviation.hxx
+++ b/framework/inc/services/uriabbreviation.hxx
@@ -40,22 +40,16 @@
#include <com/sun/star/util/XStringAbbreviation.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
-#include <cppuhelper/weak.hxx>
+#include <cppuhelper/implbase2.hxx>
namespace framework
{
-class UriAbbreviation:
- public ::com::sun::star::lang::XTypeProvider,
- public ::com::sun::star::lang::XServiceInfo,
- public ::com::sun::star::util::XStringAbbreviation,
- public ::cppu::OWeakObject // helper implements XInterface, XWeak
+class UriAbbreviation: public ::cppu::WeakImplHelper2< ::com::sun::star::util::XStringAbbreviation, css::lang::XServiceInfo>
{
public:
explicit UriAbbreviation(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & context);
- FWK_DECLARE_XINTERFACE
- FWK_DECLARE_XTYPEPROVIDER
DECLARE_XSERVICEINFO
// ::com::sun::star::util::XStringAbbreviation: