diff options
Diffstat (limited to 'chart2/source/inc/Scaling.hxx')
-rw-r--r-- | chart2/source/inc/Scaling.hxx | 68 |
1 files changed, 24 insertions, 44 deletions
diff --git a/chart2/source/inc/Scaling.hxx b/chart2/source/inc/Scaling.hxx index 3b1b4ef14b05..b04d48bc1d4c 100644 --- a/chart2/source/inc/Scaling.hxx +++ b/chart2/source/inc/Scaling.hxx @@ -45,24 +45,19 @@ public: virtual ~LogarithmicScaling() override; /// declare XServiceInfo methods - virtual OUString SAL_CALL getImplementationName() - throw( css::uno::RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, std::exception ) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; // ____ XScaling ____ - virtual double SAL_CALL doScaling( double value ) - throw (css::uno::RuntimeException, std::exception) override; + virtual double SAL_CALL doScaling( double value ) override; virtual css::uno::Reference< css::chart2::XScaling > SAL_CALL - getInverseScaling() throw (css::uno::RuntimeException, std::exception) override; + getInverseScaling() override; // ____ XServiceName ____ - virtual OUString SAL_CALL getServiceName() - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getServiceName() override; private: const double m_fBase; @@ -83,24 +78,19 @@ public: virtual ~ExponentialScaling() override; /// declare XServiceInfo methods - virtual OUString SAL_CALL getImplementationName() - throw( css::uno::RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, std::exception ) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; // ____ XScaling ____ virtual double SAL_CALL - doScaling( double value ) - throw (css::uno::RuntimeException, std::exception) override; + doScaling( double value ) override; virtual css::uno::Reference< css::chart2::XScaling > SAL_CALL - getInverseScaling() throw (css::uno::RuntimeException, std::exception) override; + getInverseScaling() override; // ____ XServiceName ____ - virtual OUString SAL_CALL getServiceName() - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getServiceName() override; private: const double m_fBase; @@ -120,23 +110,18 @@ public: virtual ~LinearScaling() override; /// declare XServiceInfo methods - virtual OUString SAL_CALL getImplementationName() - throw( css::uno::RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, std::exception ) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; // ____ XScaling ____ - virtual double SAL_CALL doScaling( double value ) - throw (css::uno::RuntimeException, std::exception) override; + virtual double SAL_CALL doScaling( double value ) override; virtual css::uno::Reference< css::chart2::XScaling > SAL_CALL - getInverseScaling() throw (css::uno::RuntimeException, std::exception) override; + getInverseScaling() override; // ____ XServiceName ____ - virtual OUString SAL_CALL getServiceName() - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getServiceName() override; private: const double m_fSlope; @@ -156,24 +141,19 @@ public: virtual ~PowerScaling() override; /// declare XServiceInfo methods - virtual OUString SAL_CALL getImplementationName() - throw( css::uno::RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, std::exception ) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; // ____ XScaling ____ virtual double SAL_CALL - doScaling( double value ) - throw (css::uno::RuntimeException, std::exception) override; + doScaling( double value ) override; virtual css::uno::Reference< css::chart2::XScaling > SAL_CALL - getInverseScaling() throw (css::uno::RuntimeException, std::exception) override; + getInverseScaling() override; // ____ XServiceName ____ - virtual OUString SAL_CALL getServiceName() - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getServiceName() override; private: const double m_fExponent; |