summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/DateScaling.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/axes/DateScaling.hxx')
-rw-r--r--chart2/source/view/axes/DateScaling.hxx25
1 files changed, 19 insertions, 6 deletions
diff --git a/chart2/source/view/axes/DateScaling.hxx b/chart2/source/view/axes/DateScaling.hxx
index df1d24ba20f8..f48518a6c9d9 100644
--- a/chart2/source/view/axes/DateScaling.hxx
+++ b/chart2/source/view/axes/DateScaling.hxx
@@ -18,7 +18,7 @@
*/
#ifndef INCLUDED_CHART2_SOURCE_VIEW_AXES_DATESCALING_HXX
#define INCLUDED_CHART2_SOURCE_VIEW_AXES_DATESCALING_HXX
-#include "ServiceMacros.hxx"
+
#include <com/sun/star/chart2/XScaling.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceName.hpp>
@@ -29,9 +29,6 @@
namespace chart
{
-/**
-*/
-
class DateScaling :
public ::cppu::WeakImplHelper3 <
::com::sun::star::chart2::XScaling,
@@ -44,7 +41,15 @@ public:
virtual ~DateScaling();
/// declare XServiceInfo methods
- APPHELPER_XSERVICEINFO_DECL()
+ virtual OUString SAL_CALL getImplementationName()
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+
+ static OUString getImplementationName_Static();
+ static css::uno::Sequence< OUString > getSupportedServiceNames_Static();
// ____ XScaling ____
virtual double SAL_CALL doScaling( double value )
@@ -76,7 +81,15 @@ public:
virtual ~InverseDateScaling();
/// declare XServiceInfo methods
- APPHELPER_XSERVICEINFO_DECL()
+ virtual OUString SAL_CALL getImplementationName()
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+
+ static OUString getImplementationName_Static();
+ static css::uno::Sequence< OUString > getSupportedServiceNames_Static();
// ____ XScaling ____
virtual double SAL_CALL doScaling( double value )