summaryrefslogtreecommitdiff
path: root/sc/inc/chart2uno.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-26 12:28:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-26 12:54:43 +0000
commite57ca02849c3d87142ff5ff9099a212e72b8139c (patch)
treebcce66b27261553c308779f3e8663a269ed3a671 /sc/inc/chart2uno.hxx
parent8802ebd5172ec4bc412a59d136c82b77ab452281 (diff)
Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
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);