summaryrefslogtreecommitdiff
path: root/sc/inc/chart2uno.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/chart2uno.hxx')
-rw-r--r--sc/inc/chart2uno.hxx167
1 files changed, 47 insertions, 120 deletions
diff --git a/sc/inc/chart2uno.hxx b/sc/inc/chart2uno.hxx
index 9201638b701d..d9c019dc7a3d 100644
--- a/sc/inc/chart2uno.hxx
+++ b/sc/inc/chart2uno.hxx
@@ -71,109 +71,76 @@ public:
// XDataProvider
virtual sal_Bool SAL_CALL createDataSourcePossible(
- const css::uno::Sequence< css::beans::PropertyValue >& aArguments )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& aArguments ) override;
virtual css::uno::Reference<
css::chart2::data::XDataSource > SAL_CALL createDataSource(
- const css::uno::Sequence< css::beans::PropertyValue >& aArguments )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& aArguments ) override;
virtual css::uno::Sequence<
css::beans::PropertyValue > SAL_CALL detectArguments(
- const css::uno::Reference< css::chart2::data::XDataSource >& xDataSource )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::chart2::data::XDataSource >& xDataSource ) override;
virtual sal_Bool SAL_CALL createDataSequenceByRangeRepresentationPossible(
- const OUString& aRangeRepresentation )
- throw (css::uno::RuntimeException, std::exception) override;
+ const OUString& aRangeRepresentation ) override;
virtual css::uno::Reference<
css::chart2::data::XDataSequence > SAL_CALL createDataSequenceByRangeRepresentation(
- const OUString& aRangeRepresentation )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ const OUString& aRangeRepresentation ) override;
virtual css::uno::Reference<css::chart2::data::XDataSequence> SAL_CALL
- createDataSequenceByValueArray( const OUString& aRole, const OUString& aRangeRepresentation )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ createDataSequenceByValueArray( const OUString& aRole, const OUString& aRangeRepresentation ) override;
- virtual css::uno::Reference< css::sheet::XRangeSelection > SAL_CALL getRangeSelection()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::sheet::XRangeSelection > SAL_CALL getRangeSelection() override;
// XSheetDataProvider
virtual sal_Bool SAL_CALL createDataSequenceByFormulaTokensPossible(
- const css::uno::Sequence< css::sheet::FormulaToken >& aTokens )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::sheet::FormulaToken >& aTokens ) override;
virtual css::uno::Reference< css::chart2::data::XDataSequence >
SAL_CALL createDataSequenceByFormulaTokens(
- const css::uno::Sequence< css::sheet::FormulaToken >& aTokens )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::sheet::FormulaToken >& aTokens ) override;
// XRangeXMLConversion
- virtual OUString SAL_CALL convertRangeToXML( const OUString& sRangeRepresentation )
- throw ( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override;
+ virtual OUString SAL_CALL convertRangeToXML( const OUString& sRangeRepresentation ) override;
- virtual OUString SAL_CALL convertRangeFromXML( const OUString& sXMLRange )
- throw ( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ) override;
+ virtual OUString SAL_CALL convertRangeFromXML( const OUString& sXMLRange ) override;
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo> SAL_CALL
- getPropertySetInfo() throw( css::uno::RuntimeException, std::exception) override;
+ getPropertySetInfo() override;
virtual void SAL_CALL setPropertyValue(
const OUString& rPropertyName,
- const css::uno::Any& rValue)
- throw( css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Any& rValue) override;
virtual css::uno::Any SAL_CALL getPropertyValue(
- const OUString& rPropertyName)
- throw( css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const OUString& rPropertyName) override;
virtual void SAL_CALL addPropertyChangeListener(
const OUString& rPropertyName,
- const css::uno::Reference< css::beans::XPropertyChangeListener>& xListener)
- throw( css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XPropertyChangeListener>& xListener) override;
virtual void SAL_CALL removePropertyChangeListener(
const OUString& rPropertyName,
- const css::uno::Reference< css::beans::XPropertyChangeListener>& rListener)
- throw( css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XPropertyChangeListener>& rListener) override;
virtual void SAL_CALL addVetoableChangeListener(
const OUString& rPropertyName,
- const css::uno::Reference< css::beans::XVetoableChangeListener>& rListener)
- throw( css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XVetoableChangeListener>& rListener) override;
virtual void SAL_CALL removeVetoableChangeListener(
const OUString& rPropertyName,
- const css::uno::Reference< css::beans::XVetoableChangeListener>& rListener)
- throw( css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XVetoableChangeListener>& rListener) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(
- css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
virtual sal_Bool SAL_CALL supportsService( const OUString&
- rServiceName) throw( css::uno::RuntimeException, std::exception) override;
+ rServiceName) override;
virtual css::uno::Sequence< OUString> SAL_CALL
- getSupportedServiceNames() throw(
- css::uno::RuntimeException, std::exception) override;
+ getSupportedServiceNames() override;
private:
@@ -198,18 +165,16 @@ public:
// XDataSource
virtual css::uno::Sequence< css::uno::Reference<
css::chart2::data::XLabeledDataSequence > > SAL_CALL
- getDataSequences() throw (css::uno::RuntimeException, std::exception) override;
+ getDataSequences() override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(
- css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
virtual sal_Bool SAL_CALL supportsService( const OUString&
- rServiceName) throw( css::uno::RuntimeException, std::exception) override;
+ rServiceName) override;
virtual css::uno::Sequence< OUString> SAL_CALL
- getSupportedServiceNames() throw(
- css::uno::RuntimeException, std::exception) override;
+ getSupportedServiceNames() override;
// implementation
@@ -249,113 +214,75 @@ public:
// XDataSequence
virtual css::uno::Sequence< css::uno::Any >
- SAL_CALL getData()
- throw (css::uno::RuntimeException,
- std::exception) override;
- virtual OUString SAL_CALL getSourceRangeRepresentation()
- throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getData() override;
+ virtual OUString SAL_CALL getSourceRangeRepresentation() override;
virtual css::uno::Sequence< OUString >
- SAL_CALL generateLabel(css::chart2::data::LabelOrigin nOrigin)
- throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL generateLabel(css::chart2::data::LabelOrigin nOrigin) override;
/** Get the number format key for the n-th data entry
* If nIndex == -1, then you will get the number format key for the first non-empty entry
*/
- virtual ::sal_Int32 SAL_CALL getNumberFormatKeyByIndex( ::sal_Int32 nIndex )
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException,
- std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getNumberFormatKeyByIndex( ::sal_Int32 nIndex ) override;
// XNumericalDataSequence
virtual css::uno::Sequence< double >
- SAL_CALL getNumericalData()
- throw (css::uno::RuntimeException,
- std::exception) override;
+ SAL_CALL getNumericalData() override;
// XTextualDataSequence
virtual css::uno::Sequence< OUString >
- SAL_CALL getTextualData()
- throw (css::uno::RuntimeException,
- std::exception) override;
+ SAL_CALL getTextualData() override;
// XTimeBased
- virtual sal_Bool SAL_CALL switchToNext(sal_Bool bWrap) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL setToPointInTime(sal_Int32 nPoint) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL switchToNext(sal_Bool bWrap) override;
+ virtual sal_Bool SAL_CALL setToPointInTime(sal_Int32 nPoint) override;
- virtual void SAL_CALL setRange(sal_Int32 nStart, sal_Int32 nEnd) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setRange(sal_Int32 nStart, sal_Int32 nEnd) override;
// XPropertySet
virtual css::uno::Reference<
css::beans::XPropertySetInfo> SAL_CALL
- getPropertySetInfo() throw( css::uno::RuntimeException, std::exception) override;
+ getPropertySetInfo() override;
virtual void SAL_CALL setPropertyValue(
const OUString& rPropertyName,
- const css::uno::Any& rValue)
- throw( css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Any& rValue) override;
virtual css::uno::Any SAL_CALL getPropertyValue(
- const OUString& rPropertyName)
- throw(css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException,
- std::exception) override;
+ const OUString& rPropertyName) override;
virtual void SAL_CALL addPropertyChangeListener(
const OUString& rPropertyName,
- const css::uno::Reference< css::beans::XPropertyChangeListener>& xListener)
- throw( css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XPropertyChangeListener>& xListener) override;
virtual void SAL_CALL removePropertyChangeListener(
const OUString& rPropertyName,
- const css::uno::Reference< css::beans::XPropertyChangeListener>& rListener)
- throw( css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XPropertyChangeListener>& rListener) override;
virtual void SAL_CALL addVetoableChangeListener(
const OUString& rPropertyName,
- const css::uno::Reference< css::beans::XVetoableChangeListener>& rListener)
- throw( css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XVetoableChangeListener>& rListener) override;
virtual void SAL_CALL removeVetoableChangeListener(
const OUString& rPropertyName,
- const css::uno::Reference< css::beans::XVetoableChangeListener>& rListener)
- throw( css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::beans::XVetoableChangeListener>& rListener) override;
// XCloneable
- virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override;
// XModifyBroadcaster
virtual void SAL_CALL addModifyListener(
- const css::uno::Reference< css::util::XModifyListener >& aListener )
- throw (css::uno::RuntimeException,
- std::exception) override;
+ const css::uno::Reference< css::util::XModifyListener >& aListener ) override;
virtual void SAL_CALL removeModifyListener(
- const css::uno::Reference< css::util::XModifyListener >& aListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::util::XModifyListener >& aListener ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(
- css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
virtual sal_Bool SAL_CALL supportsService( const OUString&
- rServiceName) throw( css::uno::RuntimeException, std::exception) override;
+ rServiceName) override;
virtual css::uno::Sequence< OUString> SAL_CALL
- getSupportedServiceNames() throw(
- css::uno::RuntimeException, std::exception) override;
+ getSupportedServiceNames() override;
private:
void setDataChangedHint(bool b);