summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-03-20 18:03:00 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-03-20 18:03:00 -0500
commit27399c3433147df9f876c2d0262b7616d36a5c63 (patch)
tree51a995bdbe601e43fcd74f7be90f2df87ffec88b /xmlhelp/source/cxxhelp
parentdb5407b6ac9afa18b61fd8ba55a7096e5b1311f0 (diff)
de-macroize xmlhelp tvfactory
Change-Id: Ie4b0e0923ade427f7ab637e8e76769a6dca957c5
Diffstat (limited to 'xmlhelp/source/cxxhelp')
-rw-r--r--xmlhelp/source/cxxhelp/inc/tvfactory.hxx32
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(
epool.hxx?id=c19c242ec0757d5d5f2936e2a57430e39c692b2b'>boost->stdCaolán McNamara Change-Id: I412137e7e7b9b2b87f401bc140a9499d1fc012c6 2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae 2013-10-23fixincludeguards.sh: include/s*Thomas Arnhold Change-Id: I57fcfd442d2b5815e7c07a9cbd660f3698168dee 2013-04-23execute move of global headersBjoern Michaelsen see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a