diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-20 18:03:00 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-20 18:03:00 -0500 |
commit | 27399c3433147df9f876c2d0262b7616d36a5c63 (patch) | |
tree | 51a995bdbe601e43fcd74f7be90f2df87ffec88b /xmlhelp/source/cxxhelp | |
parent | db5407b6ac9afa18b61fd8ba55a7096e5b1311f0 (diff) |
de-macroize xmlhelp tvfactory
Change-Id: Ie4b0e0923ade427f7ab637e8e76769a6dca957c5
Diffstat (limited to 'xmlhelp/source/cxxhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/inc/tvfactory.hxx | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/xmlhelp/source/cxxhelp/inc/tvfactory.hxx b/xmlhelp/source/cxxhelp/inc/tvfactory.hxx index e095bc7618c8..38d10b02cc06 100644 --- a/xmlhelp/source/cxxhelp/inc/tvfactory.hxx +++ b/xmlhelp/source/cxxhelp/inc/tvfactory.hxx @@ -28,16 +28,14 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> - +#include <cppuhelper/implbase2.hxx> namespace treeview { - class TVFactory: - public cppu::OWeakObject, - public com::sun::star::lang::XServiceInfo, - public com::sun::star::lang::XTypeProvider, - public com::sun::star::lang::XMultiServiceFactory +class TVFactory: public cppu::WeakImplHelper2 < + css::lang::XServiceInfo, + css::lang::XMultiServiceFactory > { public: @@ -45,28 +43,6 @@ namespace treeview { ~TVFactory(); - // XInterface - virtual com::sun::star::uno::Any SAL_CALL - queryInterface( - const com::sun::star::uno::Type& aType ) - throw( com::sun::star::uno::RuntimeException, std::exception); - - virtual void SAL_CALL - acquire( - void ) - throw(); - - virtual void SAL_CALL - release( - void ) - throw(); - - - // XTypeProvider - - XTYPEPROVIDER_DECL() - - // XServiceInfo virtual OUString SAL_CALL getImplementationName( |