summaryrefslogtreecommitdiff
path: root/chart2/inc
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 /chart2/inc
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 'chart2/inc')
-rw-r--r--chart2/inc/ChartModel.hxx288
-rw-r--r--chart2/inc/ChartView.hxx72
2 files changed, 116 insertions, 244 deletions
diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx
index 0a0889138a40..05999229a296 100644
--- a/chart2/inc/ChartModel.hxx
+++ b/chart2/inc/ChartModel.hxx
@@ -180,21 +180,17 @@ private:
/// @throws css::uno::RuntimeException
css::uno::Reference< css::frame::XController >
- impl_getCurrentController()
- throw( css::uno::RuntimeException);
+ impl_getCurrentController();
/// @throws css::uno::RuntimeException
void SAL_CALL
- impl_notifyModifiedListeners()
- throw( css::uno::RuntimeException);
+ impl_notifyModifiedListeners();
/// @throws css::uno::RuntimeException
void SAL_CALL
- impl_notifyCloseListeners()
- throw( css::uno::RuntimeException);
+ impl_notifyCloseListeners();
/// @throws css::uno::RuntimeException
void SAL_CALL
- impl_notifyStorageChangeListeners()
- throw(css::uno::RuntimeException);
+ impl_notifyStorageChangeListeners();
void impl_store(
const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor,
@@ -223,349 +219,241 @@ public:
// css::lang::XServiceInfo
- 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;
// css::lang::XInitialization
- virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments )
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
// css::frame::XModel (required interface)
virtual sal_Bool SAL_CALL
attachResource( const OUString& rURL,
- const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor ) override;
virtual OUString SAL_CALL
- getURL() throw (css::uno::RuntimeException, std::exception) override;
+ getURL() override;
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
- getArgs() throw (css::uno::RuntimeException, std::exception) override;
+ getArgs() override;
virtual void SAL_CALL
- connectController( const css::uno::Reference< css::frame::XController >& xController )
- throw (css::uno::RuntimeException, std::exception) override;
+ connectController( const css::uno::Reference< css::frame::XController >& xController ) override;
virtual void SAL_CALL
- disconnectController( const css::uno::Reference< css::frame::XController >& xController )
- throw (css::uno::RuntimeException, std::exception) override;
+ disconnectController( const css::uno::Reference< css::frame::XController >& xController ) override;
virtual void SAL_CALL
- lockControllers() throw (css::uno::RuntimeException, std::exception) override;
+ lockControllers() override;
virtual void SAL_CALL
- unlockControllers() throw (css::uno::RuntimeException, std::exception) override;
+ unlockControllers() override;
virtual sal_Bool SAL_CALL
- hasControllersLocked()
- throw (css::uno::RuntimeException, std::exception) override;
+ hasControllersLocked() override;
virtual css::uno::Reference< css::frame::XController > SAL_CALL
- getCurrentController()
- throw (css::uno::RuntimeException, std::exception) override;
+ getCurrentController() override;
virtual void SAL_CALL
- setCurrentController( const css::uno::Reference< css::frame::XController >& xController )
- throw (css::container::NoSuchElementException
- , css::uno::RuntimeException, std::exception) override;
+ setCurrentController( const css::uno::Reference< css::frame::XController >& xController ) override;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
- getCurrentSelection()
- throw (css::uno::RuntimeException, std::exception) override;
+ getCurrentSelection() override;
// css::lang::XComponent (base of XModel)
virtual void SAL_CALL
- dispose() throw (css::uno::RuntimeException, std::exception) override;
+ dispose() override;
virtual void SAL_CALL
- addEventListener( const css::uno::Reference< css::lang::XEventListener > & xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ addEventListener( const css::uno::Reference< css::lang::XEventListener > & xListener ) override;
virtual void SAL_CALL
- removeEventListener( const css::uno::Reference< css::lang::XEventListener > & xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ removeEventListener( const css::uno::Reference< css::lang::XEventListener > & xListener ) override;
// css::util::XCloseable
virtual void SAL_CALL
- close( sal_Bool bDeliverOwnership )
- throw(css::util::CloseVetoException,
- css::uno::RuntimeException, std::exception) override;
+ close( sal_Bool bDeliverOwnership ) override;
// css::util::XCloseBroadcaster (base of XCloseable)
virtual void SAL_CALL
- addCloseListener( const css::uno::Reference< css::util::XCloseListener > & xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ addCloseListener( const css::uno::Reference< css::util::XCloseListener > & xListener ) override;
virtual void SAL_CALL
- removeCloseListener( const css::uno::Reference< css::util::XCloseListener > & xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ removeCloseListener( const css::uno::Reference< css::util::XCloseListener > & xListener ) override;
// css::frame::XStorable2 (extension of XStorable)
virtual void SAL_CALL storeSelf(
- const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor )
- throw (css::lang::IllegalArgumentException,
- css::io::IOException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor ) override;
// css::frame::XStorable (required interface)
virtual sal_Bool SAL_CALL
- hasLocation() throw (css::uno::RuntimeException, std::exception) override;
+ hasLocation() override;
virtual OUString SAL_CALL
- getLocation() throw (css::uno::RuntimeException, std::exception) override;
+ getLocation() override;
virtual sal_Bool SAL_CALL
- isReadonly() throw (css::uno::RuntimeException, std::exception) override;
+ isReadonly() override;
virtual void SAL_CALL
- store() throw (css::io::IOException
- , css::uno::RuntimeException, std::exception) override;
+ store() override;
virtual void SAL_CALL
storeAsURL( const OUString& rURL,
- const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor )
- throw (css::io::IOException
- , css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor ) override;
virtual void SAL_CALL
storeToURL( const OUString& rURL,
- const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor )
- throw (css::io::IOException
- , css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor ) override;
// css::util::XModifiable (required interface)
virtual sal_Bool SAL_CALL
- isModified() throw (css::uno::RuntimeException, std::exception) override;
+ isModified() override;
virtual void SAL_CALL
- setModified( sal_Bool bModified )
- throw (css::beans::PropertyVetoException
- , css::uno::RuntimeException, std::exception) override;
+ setModified( sal_Bool bModified ) override;
// css::util::XModifyBroadcaster (base of XModifiable)
virtual void SAL_CALL
- addModifyListener( const css::uno::Reference< css::util::XModifyListener >& xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ addModifyListener( const css::uno::Reference< css::util::XModifyListener >& xListener ) override;
virtual void SAL_CALL
- removeModifyListener( const css::uno::Reference< css::util::XModifyListener >& xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ removeModifyListener( const css::uno::Reference< css::util::XModifyListener >& xListener ) override;
// ____ XModifyListener ____
virtual void SAL_CALL modified(
- const css::lang::EventObject& aEvent )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::lang::EventObject& aEvent ) override;
// ____ XEventListener (base of XModifyListener) ____
virtual void SAL_CALL disposing(
- const css::lang::EventObject& Source )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::lang::EventObject& Source ) override;
// ____ datatransferable::XTransferable ____
virtual css::uno::Any SAL_CALL getTransferData(
- const css::datatransfer::DataFlavor& aFlavor )
- throw (css::datatransfer::UnsupportedFlavorException,
- css::io::IOException,
- css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors()
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::datatransfer::DataFlavor& aFlavor ) override;
+ virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors() override;
virtual sal_Bool SAL_CALL isDataFlavorSupported(
- const css::datatransfer::DataFlavor& aFlavor )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::datatransfer::DataFlavor& aFlavor ) override;
// lang::XTypeProvider (override method of WeakImplHelper)
virtual css::uno::Sequence< css::uno::Type > SAL_CALL
- getTypes() throw (css::uno::RuntimeException, std::exception) override;
+ getTypes() override;
// ____ document::XDocumentPropertiesSupplier ____
virtual css::uno::Reference< css::document::XDocumentProperties > SAL_CALL
- getDocumentProperties( ) throw (css::uno::RuntimeException, std::exception) override;
+ getDocumentProperties( ) override;
// ____ document::XUndoManagerSupplier ____
virtual css::uno::Reference< css::document::XUndoManager > SAL_CALL
- getUndoManager( ) throw (css::uno::RuntimeException, std::exception) override;
+ getUndoManager( ) override;
// css::chart2::XChartDocument
virtual css::uno::Reference< css::chart2::XDiagram > SAL_CALL
- getFirstDiagram() throw (css::uno::RuntimeException, std::exception) override;
+ getFirstDiagram() override;
virtual void SAL_CALL setFirstDiagram(
- const css::uno::Reference< css::chart2::XDiagram >& xDiagram )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::chart2::XDiagram >& xDiagram ) override;
virtual void SAL_CALL
- createInternalDataProvider( sal_Bool bCloneExistingData )
- throw (css::util::CloseVetoException,
- css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasInternalDataProvider()
- throw (css::uno::RuntimeException, std::exception) override;
+ createInternalDataProvider( sal_Bool bCloneExistingData ) override;
+ virtual sal_Bool SAL_CALL hasInternalDataProvider() override;
virtual css::uno::Reference< css::chart2::data::XDataProvider > SAL_CALL
- getDataProvider()
- throw (css::uno::RuntimeException, std::exception) override;
+ getDataProvider() override;
virtual void SAL_CALL
- setChartTypeManager( const css::uno::Reference< css::chart2::XChartTypeManager >& xNewManager )
- throw (css::uno::RuntimeException, std::exception) override;
+ setChartTypeManager( const css::uno::Reference< css::chart2::XChartTypeManager >& xNewManager ) override;
virtual css::uno::Reference< css::chart2::XChartTypeManager > SAL_CALL
- getChartTypeManager()
- throw (css::uno::RuntimeException, std::exception) override;
+ getChartTypeManager() override;
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL
- getPageBackground()
- throw (css::uno::RuntimeException, std::exception) override;
+ getPageBackground() override;
- virtual void SAL_CALL createDefaultChart() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL createDefaultChart() override;
- virtual sal_Bool SAL_CALL isOpenGLChart() throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL isOpenGLChart() override;
// ____ XDataReceiver (public API) ____
virtual void SAL_CALL
- attachDataProvider( const css::uno::Reference< css::chart2::data::XDataProvider >& xProvider )
- throw (css::uno::RuntimeException, std::exception) override;
+ attachDataProvider( const css::uno::Reference< css::chart2::data::XDataProvider >& xProvider ) override;
virtual void SAL_CALL setArguments(
- const css::uno::Sequence< css::beans::PropertyValue >& aArguments )
- throw (css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getUsedRangeRepresentations()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::chart2::data::XDataSource > SAL_CALL getUsedData()
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& aArguments ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getUsedRangeRepresentations() override;
+ virtual css::uno::Reference< css::chart2::data::XDataSource > SAL_CALL getUsedData() override;
virtual void SAL_CALL attachNumberFormatsSupplier( const css::uno::Reference<
- css::util::XNumberFormatsSupplier >& xSupplier )
- throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::chart2::data::XRangeHighlighter > SAL_CALL getRangeHighlighter()
- throw (css::uno::RuntimeException, std::exception) override;
+ css::util::XNumberFormatsSupplier >& xSupplier ) override;
+ virtual css::uno::Reference< css::chart2::data::XRangeHighlighter > SAL_CALL getRangeHighlighter() override;
// ____ XTitled ____
- virtual css::uno::Reference< css::chart2::XTitle > SAL_CALL getTitleObject()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setTitleObject( const css::uno::Reference< css::chart2::XTitle >& Title )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::chart2::XTitle > SAL_CALL getTitleObject() override;
+ virtual void SAL_CALL setTitleObject( const css::uno::Reference< css::chart2::XTitle >& Title ) override;
// ____ XInterface (for old API wrapper) ____
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
// ____ XLoadable ____
- virtual void SAL_CALL initNew()
- throw (css::frame::DoubleInitializationException,
- css::io::IOException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL load( const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor )
- throw (css::frame::DoubleInitializationException,
- css::io::IOException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL initNew() override;
+ virtual void SAL_CALL load( const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor ) 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;
// ____ XVisualObject ____
virtual void SAL_CALL setVisualAreaSize(
::sal_Int64 nAspect,
- const css::awt::Size& aSize )
- throw (css::lang::IllegalArgumentException,
- css::embed::WrongStateException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception) override;
+ const css::awt::Size& aSize ) override;
virtual css::awt::Size SAL_CALL getVisualAreaSize(
- ::sal_Int64 nAspect )
- throw (css::lang::IllegalArgumentException,
- css::embed::WrongStateException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception) override;
+ ::sal_Int64 nAspect ) override;
virtual css::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation(
- ::sal_Int64 nAspect )
- throw (css::lang::IllegalArgumentException,
- css::embed::WrongStateException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception) override;
+ ::sal_Int64 nAspect ) override;
virtual ::sal_Int32 SAL_CALL getMapUnit(
- ::sal_Int64 nAspect )
- throw (css::uno::Exception,
- css::uno::RuntimeException, std::exception) override;
+ ::sal_Int64 nAspect ) override;
// ____ XMultiServiceFactory ____
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
- createInstance( const OUString& aServiceSpecifier )
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ createInstance( const OUString& aServiceSpecifier ) override;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithArguments( const OUString& ServiceSpecifier
- , const css::uno::Sequence< css::uno::Any >& Arguments )
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ , const css::uno::Sequence< css::uno::Any >& Arguments ) override;
virtual css::uno::Sequence< OUString > SAL_CALL
- getAvailableServiceNames() throw (css::uno::RuntimeException, std::exception) override;
+ getAvailableServiceNames() override;
// ____ XStorageBasedDocument ____
virtual void SAL_CALL loadFromStorage(
const css::uno::Reference< css::embed::XStorage >& xStorage,
- const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor )
- throw (css::lang::IllegalArgumentException,
- css::frame::DoubleInitializationException,
- css::io::IOException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor ) override;
virtual void SAL_CALL storeToStorage(
const css::uno::Reference< css::embed::XStorage >& xStorage,
- const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor )
- throw (css::lang::IllegalArgumentException,
- css::io::IOException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& rMediaDescriptor ) override;
virtual void SAL_CALL switchToStorage(
- const css::uno::Reference< css::embed::XStorage >& xStorage )
- throw (css::lang::IllegalArgumentException,
- css::io::IOException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentStorage()
- throw (css::io::IOException,
- css::uno::Exception,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::embed::XStorage >& xStorage ) override;
+ virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentStorage() override;
virtual void SAL_CALL addStorageChangeListener(
- const css::uno::Reference< css::document::XStorageChangeListener >& xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::document::XStorageChangeListener >& xListener ) override;
virtual void SAL_CALL removeStorageChangeListener(
- const css::uno::Reference< css::document::XStorageChangeListener >& xListener )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::document::XStorageChangeListener >& xListener ) override;
// for SvNumberFormatsSupplierObj
// ____ XUnoTunnel ___
- virtual ::sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< ::sal_Int8 >& aIdentifier )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< ::sal_Int8 >& aIdentifier ) override;
// ____ XNumberFormatsSupplier ____
- virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getNumberFormatSettings()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::util::XNumberFormats > SAL_CALL getNumberFormats()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getNumberFormatSettings() override;
+ virtual css::uno::Reference< css::util::XNumberFormats > SAL_CALL getNumberFormats() override;
// ____ XChild ____
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() override;
virtual void SAL_CALL setParent(
- const css::uno::Reference< css::uno::XInterface >& Parent )
- throw (css::lang::NoSupportException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::uno::XInterface >& Parent ) override;
// ____ XDataSource ____ allows access to the currently used data and data ranges
- virtual css::uno::Sequence< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > SAL_CALL getDataSequences()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > SAL_CALL getDataSequences() override;
// X3DChartWindowProvider
- virtual void SAL_CALL setWindow( sal_uInt64 nWindowPtr )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setWindow( sal_uInt64 nWindowPtr ) override;
// XUpdatable
- virtual void SAL_CALL update()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL update() override;
// XDumper
- virtual OUString SAL_CALL dump()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL dump() override;
// normal methods
css::uno::Reference< css::util::XNumberFormatsSupplier > const &
diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx
index aa1e30949da1..a7b545f49af0 100644
--- a/chart2/inc/ChartView.hxx
+++ b/chart2/inc/ChartView.hxx
@@ -113,16 +113,12 @@ public:
virtual ~ChartView() override;
// ___lang::XServiceInfo___
- 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;
// ___lang::XInitialization___
- virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments )
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
// ___ExplicitValueProvider___
virtual bool getExplicitValuesForAxis(
@@ -139,68 +135,56 @@ public:
std::shared_ptr< DrawModelWrapper > getDrawModelWrapper() override;
// ___XTransferable___
- virtual css::uno::Any SAL_CALL getTransferData( const css::datatransfer::DataFlavor& aFlavor )
- throw (css::datatransfer::UnsupportedFlavorException
- , css::io::IOException
- , css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors( )
- throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isDataFlavorSupported( const css::datatransfer::DataFlavor& aFlavor )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getTransferData( const css::datatransfer::DataFlavor& aFlavor ) override;
+ virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors( ) override;
+ virtual sal_Bool SAL_CALL isDataFlavorSupported( const css::datatransfer::DataFlavor& aFlavor ) override;
// css::util::XEventListener (base of XCloseListener and XModifyListener)
virtual void SAL_CALL
- disposing( const css::lang::EventObject& Source )
- throw (css::uno::RuntimeException, std::exception) override;
+ disposing( const css::lang::EventObject& Source ) override;
// css::util::XModifyListener
virtual void SAL_CALL modified(
- const css::lang::EventObject& aEvent )
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::lang::EventObject& aEvent ) override;
//SfxListener
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
// css::util::XModeChangeBroadcaster
- virtual void SAL_CALL addModeChangeListener( const css::uno::Reference< css::util::XModeChangeListener >& _rxListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeModeChangeListener( const css::uno::Reference< css::util::XModeChangeListener >& _rxListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addModeChangeApproveListener( const css::uno::Reference< css::util::XModeChangeApproveListener >& _rxListener ) throw (css::lang::NoSupportException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeModeChangeApproveListener( const css::uno::Reference< css::util::XModeChangeApproveListener >& _rxListener ) throw (css::lang::NoSupportException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addModeChangeListener( const css::uno::Reference< css::util::XModeChangeListener >& _rxListener ) override;
+ virtual void SAL_CALL removeModeChangeListener( const css::uno::Reference< css::util::XModeChangeListener >& _rxListener ) override;
+ virtual void SAL_CALL addModeChangeApproveListener( const css::uno::Reference< css::util::XModeChangeApproveListener >& _rxListener ) override;
+ virtual void SAL_CALL removeModeChangeApproveListener( const css::uno::Reference< css::util::XModeChangeApproveListener >& _rxListener ) override;
// css::util::XUpdatable
- virtual void SAL_CALL update() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL update() override;
// util::XUpdatable2
- virtual void SAL_CALL updateSoft() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL updateHard() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL updateSoft() override;
+ virtual void SAL_CALL updateHard() override;
// css::beans::XPropertySet
- virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
+ virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override;
+ virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
+ virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
+ virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
+ virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
+ virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
// css::lang::XMultiServiceFactory
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( const OUString& aServiceSpecifier )
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( const OUString& aServiceSpecifier ) override;
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(
- const OUString& ServiceSpecifier, const css::uno::Sequence< css::uno::Any >& Arguments )
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() throw (css::uno::RuntimeException, std::exception) override;
+ const OUString& ServiceSpecifier, const css::uno::Sequence< css::uno::Any >& Arguments ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override;
// for ExplicitValueProvider
// ____ XUnoTunnel ___
- virtual ::sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< ::sal_Int8 >& aIdentifier )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< ::sal_Int8 >& aIdentifier ) override;
// XDumper
- virtual OUString SAL_CALL dump()
- throw(css::uno::RuntimeException,
- std::exception) override;
+ virtual OUString SAL_CALL dump() override;
void setViewDirty();
void updateOpenGLWindow();