summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-28 11:37:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-28 11:37:52 +0100
commit8bd24f37fe9cdc692987ba03106795e288a319fc (patch)
tree1275d4136228f2e2e7dc06ebb77860db343d5171 /chart2/source
parente3bd2ee4e00185d6e0e57aba7046634142d614b8 (diff)
Missing XServiceInfo base class
Change-Id: Ib295357574a54de4716fcd2ff8f57c604729214d
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/model/inc/ChartTypeManager.hxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/chart2/source/model/inc/ChartTypeManager.hxx b/chart2/source/model/inc/ChartTypeManager.hxx
index f51fc92a60a9..28a29a203c04 100644
--- a/chart2/source/model/inc/ChartTypeManager.hxx
+++ b/chart2/source/model/inc/ChartTypeManager.hxx
@@ -21,11 +21,12 @@
#include "OPropertySet.hxx"
#include "MutexContainer.hxx"
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase3.hxx>
#include <comphelper/uno3.hxx>
#include "ServiceMacros.hxx"
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/chart2/XChartTypeManager.hpp>
@@ -33,7 +34,8 @@ namespace chart
{
class ChartTypeManager :
- public ::cppu::WeakImplHelper2<
+ public ::cppu::WeakImplHelper3<
+ css::lang::XServiceInfo,
::com::sun::star::lang::XMultiServiceFactory,
::com::sun::star::chart2::XChartTypeManager >
{
@@ -43,16 +45,18 @@ public:
::com::sun::star::uno::XComponentContext > const & xContext );
virtual ~ChartTypeManager();
- //TODO: are these actually used (given they are not SAL_OVERRIDE)?
virtual OUString SAL_CALL
getImplementationName()
- throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception )
+ SAL_OVERRIDE;
virtual sal_Bool SAL_CALL
supportsService( const OUString& ServiceName )
- throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception )
+ SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames()
- throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception )
+ SAL_OVERRIDE;
static OUString getImplementationName_Static();
static ::com::sun::star::uno::Sequence< OUString >
getSupportedServiceNames_Static();