diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-20 17:56:12 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-20 17:56:12 -0500 |
commit | db5407b6ac9afa18b61fd8ba55a7096e5b1311f0 (patch) | |
tree | fa28d7c3bd3c7c4189628e2d1ea51d81e010677d /xmlhelp/source/cxxhelp/inc | |
parent | 9343674f58237760ba648ff965f57948cdbe5e8a (diff) |
de-macroize xmlhelp TVBase
Change-Id: I92e9bc4bbdf18273d26d666d98401cd83a9b1560
Diffstat (limited to 'xmlhelp/source/cxxhelp/inc')
-rw-r--r-- | xmlhelp/source/cxxhelp/inc/tvread.hxx | 33 |
1 files changed, 6 insertions, 27 deletions
diff --git a/xmlhelp/source/cxxhelp/inc/tvread.hxx b/xmlhelp/source/cxxhelp/inc/tvread.hxx index 55f1d93573ed..4225438aaab3 100644 --- a/xmlhelp/source/cxxhelp/inc/tvread.hxx +++ b/xmlhelp/source/cxxhelp/inc/tvread.hxx @@ -35,6 +35,7 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/deployment/XPackage.hpp> #include <com/sun/star/ucb/XSimpleFileAccess3.hpp> +#include <cppuhelper/implbase4.hxx> namespace treeview { @@ -60,13 +61,11 @@ namespace treeview { class TVDom; class TVChildTarget; - class TVBase - : public cppu::OWeakObject, - public com::sun::star::lang::XTypeProvider, - public com::sun::star::container::XNameAccess, - public com::sun::star::container::XHierarchicalNameAccess, - public com::sun::star::util::XChangesNotifier, - public com::sun::star::lang::XComponent + class TVBase : public cppu::WeakImplHelper4 < + css::container::XNameAccess, + css::container::XHierarchicalNameAccess, + css::util::XChangesNotifier, + css::lang::XComponent > { friend class TVChildTarget; @@ -74,26 +73,6 @@ namespace treeview { virtual ~TVBase() { } - // 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() - // XNameAccess virtual com::sun::star::uno::Type SAL_CALL |