diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:54:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:16 +0100 |
commit | 6fffabf4e5afcc97126b6281f3d322cbd7615f7d (patch) | |
tree | 18b0c15ed5bfeecbe08e98fe1ec44b27abcebf97 | |
parent | 4500e89f7f933e8b90d175b739e9d0b2a4c11486 (diff) |
New loplugin:dynexcspec: Add @throws documentation, reportdesign
Change-Id: I3f2c79bc345935e7369e92473ca543c0917820e0
28 files changed, 92 insertions, 0 deletions
diff --git a/reportdesign/inc/ReportDefinition.hxx b/reportdesign/inc/ReportDefinition.hxx index 5235ae008225..d0987e38283f 100644 --- a/reportdesign/inc/ReportDefinition.hxx +++ b/reportdesign/inc/ReportDefinition.hxx @@ -177,7 +177,9 @@ namespace reportdesign ,const css::uno::Reference< css::lang::XMultiServiceFactory > & _xFactory ,css::uno::Reference< css::drawing::XShape >& _xShape); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); @@ -395,6 +397,7 @@ namespace reportdesign virtual bool isEnableSetModified() const override; virtual OUString getDocumentBaseURL() const override; + /// @throws css::uno::RuntimeException css::uno::Reference< css::ui::XUIConfigurationManager2 > getUIConfigurationManager2( ) throw (css::uno::RuntimeException); }; diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx index 6a41ea967602..8d7b93e82514 100644 --- a/reportdesign/inc/RptObject.hxx +++ b/reportdesign/inc/RptObject.hxx @@ -101,6 +101,7 @@ public: void StartListening(); void EndListening(bool bRemoveListener = true); // PropertyChangeListener + /// @throws css::uno::RuntimeException virtual void _propertyChange( const css::beans::PropertyChangeEvent& evt ) throw(css::uno::RuntimeException); virtual void initializeOle() {} diff --git a/reportdesign/source/core/inc/FixedLine.hxx b/reportdesign/source/core/inc/FixedLine.hxx index 7d0786d3b8b5..df58de53bcc9 100644 --- a/reportdesign/source/core/inc/FixedLine.hxx +++ b/reportdesign/source/core/inc/FixedLine.hxx @@ -82,7 +82,9 @@ namespace reportdesign virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/core/inc/FixedText.hxx b/reportdesign/source/core/inc/FixedText.hxx index 1ded3e3a85d5..3f481422ba49 100644 --- a/reportdesign/source/core/inc/FixedText.hxx +++ b/reportdesign/source/core/inc/FixedText.hxx @@ -94,7 +94,9 @@ namespace reportdesign virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/core/inc/FormatCondition.hxx b/reportdesign/source/core/inc/FormatCondition.hxx index 6d11c9ea3c76..861fd59ffc94 100644 --- a/reportdesign/source/core/inc/FormatCondition.hxx +++ b/reportdesign/source/core/inc/FormatCondition.hxx @@ -84,7 +84,9 @@ namespace reportdesign virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/core/inc/FormattedField.hxx b/reportdesign/source/core/inc/FormattedField.hxx index 89cfeed1c946..9f0bc96afb00 100644 --- a/reportdesign/source/core/inc/FormattedField.hxx +++ b/reportdesign/source/core/inc/FormattedField.hxx @@ -99,7 +99,9 @@ namespace reportdesign virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException, std::exception ); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException, std::exception ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/core/inc/Function.hxx b/reportdesign/source/core/inc/Function.hxx index 5a901f5fefec..ebf2ed99e0bd 100644 --- a/reportdesign/source/core/inc/Function.hxx +++ b/reportdesign/source/core/inc/Function.hxx @@ -85,7 +85,9 @@ namespace reportdesign virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/core/inc/Group.hxx b/reportdesign/source/core/inc/Group.hxx index aceff886bcc3..0a9c6dc21734 100644 --- a/reportdesign/source/core/inc/Group.hxx +++ b/reportdesign/source/core/inc/Group.hxx @@ -108,6 +108,7 @@ namespace reportdesign virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); // css::beans::XPropertySet diff --git a/reportdesign/source/core/inc/ImageControl.hxx b/reportdesign/source/core/inc/ImageControl.hxx index 5f7bae81877e..ba451e268538 100644 --- a/reportdesign/source/core/inc/ImageControl.hxx +++ b/reportdesign/source/core/inc/ImageControl.hxx @@ -88,7 +88,9 @@ namespace reportdesign virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/core/inc/ReportControlModel.hxx b/reportdesign/source/core/inc/ReportControlModel.hxx index dc855adf8e0f..803e03f3f14a 100644 --- a/reportdesign/source/core/inc/ReportControlModel.hxx +++ b/reportdesign/source/core/inc/ReportControlModel.hxx @@ -96,21 +96,39 @@ namespace reportdesign {} // XContainer + /// @throws css::uno::RuntimeException void addContainerListener( const css::uno::Reference< css::container::XContainerListener >& xListener ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void removeContainerListener( const css::uno::Reference< css::container::XContainerListener >& xListener ) throw (css::uno::RuntimeException); // XElementAccess + /// @throws css::uno::RuntimeException bool hasElements( ) throw (css::uno::RuntimeException); // XIndexReplace + /// @throws css::lang::IllegalArgumentException + /// @throws css::lang::IndexOutOfBoundsException + /// @throws css::lang::WrappedTargetException + /// @throws css::uno::RuntimeException void replaceByIndex( ::sal_Int32 Index, const css::uno::Any& Element ) throw (css::lang::IllegalArgumentException, css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException); // XIndexContainer + /// @throws css::lang::IllegalArgumentException + /// @throws css::lang::IndexOutOfBoundsException + /// @throws css::lang::WrappedTargetException + /// @throws css::uno::RuntimeException void insertByIndex( ::sal_Int32 Index, const css::uno::Any& Element ) throw (css::lang::IllegalArgumentException, css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException); + /// @throws css::lang::IndexOutOfBoundsException + /// @throws css::lang::WrappedTargetException + /// @throws css::uno::RuntimeException void removeByIndex( ::sal_Int32 Index ) throw (css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException); // XIndexAccess + /// @throws css::uno::RuntimeException ::sal_Int32 getCount( ) throw (css::uno::RuntimeException); + /// @throws css::lang::IndexOutOfBoundsException + /// @throws css::lang::WrappedTargetException + /// @throws css::uno::RuntimeException css::uno::Any getByIndex( ::sal_Int32 Index ) throw (css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException); static bool isInterfaceForbidden(const css::uno::Type& _rType); diff --git a/reportdesign/source/core/inc/ReportEngineJFree.hxx b/reportdesign/source/core/inc/ReportEngineJFree.hxx index 5dbdb895ec11..acf3d39ea2c7 100644 --- a/reportdesign/source/core/inc/ReportEngineJFree.hxx +++ b/reportdesign/source/core/inc/ReportEngineJFree.hxx @@ -88,7 +88,9 @@ namespace reportdesign virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); @@ -115,6 +117,10 @@ namespace reportdesign // Methods virtual css::uno::Reference< css::frame::XModel > SAL_CALL createDocumentModel( ) throw (css::lang::DisposedException, css::lang::IllegalArgumentException, css::uno::Exception, css::uno::RuntimeException, std::exception) override ; virtual css::uno::Reference< css::frame::XModel > SAL_CALL createDocumentAlive( const css::uno::Reference< css::frame::XFrame >& _frame ) throw (css::lang::DisposedException, css::lang::IllegalArgumentException, css::uno::Exception, css::uno::RuntimeException, std::exception) override ; + /// @throws css::lang::DisposedException + /// @throws css::lang::IllegalArgumentException + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException css::uno::Reference< css::frame::XModel > SAL_CALL createDocumentAlive( const css::uno::Reference< css::frame::XFrame >& _frame ,bool _bHidden) throw (css::lang::DisposedException, css::lang::IllegalArgumentException, css::uno::Exception, css::uno::RuntimeException, std::exception) ; virtual css::util::URL SAL_CALL createDocument( ) throw (css::lang::DisposedException, css::lang::IllegalArgumentException, css::uno::Exception, css::uno::RuntimeException, std::exception) override ; virtual void SAL_CALL interrupt( ) throw (css::lang::DisposedException, css::uno::Exception, css::uno::RuntimeException, std::exception) override ; diff --git a/reportdesign/source/core/inc/Section.hxx b/reportdesign/source/core/inc/Section.hxx index 2772040b5777..8b7c1d98c0ab 100644 --- a/reportdesign/source/core/inc/Section.hxx +++ b/reportdesign/source/core/inc/Section.hxx @@ -148,6 +148,7 @@ namespace reportdesign virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); // css::beans::XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/reportdesign/source/core/inc/Shape.hxx b/reportdesign/source/core/inc/Shape.hxx index ca58e9b294a9..9603e316ae8e 100644 --- a/reportdesign/source/core/inc/Shape.hxx +++ b/reportdesign/source/core/inc/Shape.hxx @@ -99,7 +99,9 @@ namespace reportdesign virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/filter/xml/dbloader2.hxx b/reportdesign/source/filter/xml/dbloader2.hxx index 78510efa6080..61f7d88b20bf 100644 --- a/reportdesign/source/filter/xml/dbloader2.hxx +++ b/reportdesign/source/filter/xml/dbloader2.hxx @@ -76,10 +76,12 @@ public: css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(std::exception ) override; // static methods + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ) { return OUString("com.sun.star.comp.report.ORptTypeDetection"); } + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/filter/xml/xmlExport.hxx b/reportdesign/source/filter/xml/xmlExport.hxx index 40288762bbea..bcb4715fe6c3 100644 --- a/reportdesign/source/filter/xml/xmlExport.hxx +++ b/reportdesign/source/filter/xml/xmlExport.hxx @@ -157,7 +157,9 @@ public: ORptExport(const Reference< XComponentContext >& _rxContext, OUString const & implementationName, SvXMLExportFlags nExportFlag); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); @@ -177,7 +179,9 @@ public: class ORptExportHelper { public: + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static Sequence< OUString > getSupportedServiceNames_Static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); @@ -190,7 +194,9 @@ public: class ORptContentExportHelper { public: + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static Sequence< OUString > getSupportedServiceNames_Static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); @@ -203,7 +209,9 @@ public: class ORptStylesExportHelper { public: + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static Sequence< OUString > getSupportedServiceNames_Static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); @@ -216,7 +224,9 @@ public: class ORptMetaExportHelper { public: + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static Sequence< OUString > getSupportedServiceNames_Static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); @@ -228,7 +238,9 @@ public: class ODBFullExportHelper { public: + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static Sequence< OUString > getSupportedServiceNames_Static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx b/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx index 4fee215fcec9..d7e944c8bccf 100644 --- a/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx +++ b/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx @@ -44,7 +44,9 @@ class ExportDocumentHandler : public ExportDocumentHandler_BASE { public: // XServiceInfo - static versions + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(const css::uno::Reference< css::uno::XComponentContext >&); diff --git a/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx b/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx index ea7484036f6a..800b52074e0d 100644 --- a/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx +++ b/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx @@ -42,7 +42,9 @@ class ImportDocumentHandler : public ImportDocumentHandler_BASE { public: // XServiceInfo - static versions + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(const css::uno::Reference< css::uno::XComponentContext >&); diff --git a/reportdesign/source/filter/xml/xmlfilter.hxx b/reportdesign/source/filter/xml/xmlfilter.hxx index bc9c654929d4..fe82d812b9a2 100644 --- a/reportdesign/source/filter/xml/xmlfilter.hxx +++ b/reportdesign/source/filter/xml/xmlfilter.hxx @@ -91,6 +91,7 @@ private: Reference<XReportDefinition> m_xReportDefinition; std::shared_ptr<rptui::OReportModel> m_pReportModel; + /// @throws RuntimeException bool implImport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException, std::exception); SvXMLImportContext* CreateStylesContext(const OUString& rLocalName, @@ -115,7 +116,9 @@ public: // XFilter virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& rDescriptor ) throw(RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); @@ -174,7 +177,9 @@ public: class ORptImportHelper { public: + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static Sequence< OUString > getSupportedServiceNames_Static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); @@ -187,7 +192,9 @@ public: class ORptContentImportHelper { public: + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static Sequence< OUString > getSupportedServiceNames_Static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); @@ -200,7 +207,9 @@ public: class ORptStylesImportHelper { public: + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static Sequence< OUString > getSupportedServiceNames_Static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); @@ -213,7 +222,9 @@ public: class ORptMetaImportHelper { public: + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static Sequence< OUString > getSupportedServiceNames_Static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx index 859a9f58d71d..8ad17838b11f 100644 --- a/reportdesign/source/ui/dlg/GroupsSorting.cxx +++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx @@ -115,7 +115,9 @@ public: virtual void dispose() override; // XContainerListener + /// @throws css::uno::RuntimeException void SAL_CALL elementInserted(const css::container::ContainerEvent& rEvent) throw(css::uno::RuntimeException, std::exception); + /// @throws css::uno::RuntimeException void SAL_CALL elementRemoved(const css::container::ContainerEvent& rEvent) throw(css::uno::RuntimeException, std::exception); virtual Size GetOptimalSize() const override; diff --git a/reportdesign/source/ui/inc/DataProviderHandler.hxx b/reportdesign/source/ui/inc/DataProviderHandler.hxx index 5ece3e29394f..5cd69f2e9ef3 100644 --- a/reportdesign/source/ui/inc/DataProviderHandler.hxx +++ b/reportdesign/source/ui/inc/DataProviderHandler.hxx @@ -51,7 +51,9 @@ namespace rptui { public: // XServiceInfo - static versions + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(const css::uno::Reference< css::uno::XComponentContext >&); diff --git a/reportdesign/source/ui/inc/DefaultInspection.hxx b/reportdesign/source/ui/inc/DefaultInspection.hxx index d4e1741dc451..3f729a073951 100644 --- a/reportdesign/source/ui/inc/DefaultInspection.hxx +++ b/reportdesign/source/ui/inc/DefaultInspection.hxx @@ -77,7 +77,9 @@ namespace rptui public: // XServiceInfo - static versions + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(const css::uno::Reference< css::uno::XComponentContext >&); diff --git a/reportdesign/source/ui/inc/FixedTextColor.hxx b/reportdesign/source/ui/inc/FixedTextColor.hxx index 6b04fa50956d..7d928a4b5d87 100644 --- a/reportdesign/source/ui/inc/FixedTextColor.hxx +++ b/reportdesign/source/ui/inc/FixedTextColor.hxx @@ -38,7 +38,9 @@ namespace rptui { const OReportController& m_rReportController; + /// @throws css::uno::RuntimeException css::uno::Reference< css::awt::XVclWindowPeer > getVclWindowPeer(const css::uno::Reference< css::report::XFixedText >& _xComponent) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException css::uno::Reference< css::awt::XControl > getXControl(const css::uno::Reference< css::report::XFixedText >& _xFixedText) throw(css::uno::RuntimeException); static void setPropertyTextColor(const css::uno::Reference< css::awt::XVclWindowPeer >& _xVclWindowPeer, sal_Int32 _nFormatKey); diff --git a/reportdesign/source/ui/inc/FormattedFieldBeautifier.hxx b/reportdesign/source/ui/inc/FormattedFieldBeautifier.hxx index e1b76ca1abf7..a54ca63a8f2a 100644 --- a/reportdesign/source/ui/inc/FormattedFieldBeautifier.hxx +++ b/reportdesign/source/ui/inc/FormattedFieldBeautifier.hxx @@ -37,6 +37,7 @@ namespace rptui const OReportController& m_rReportController; sal_Int32 m_nTextColor; + /// @throws css::uno::RuntimeException css::uno::Reference< css::awt::XVclWindowPeer > getVclWindowPeer(const css::uno::Reference< css::report::XReportComponent >& _xComponent) throw(css::uno::RuntimeException); void setPlaceholderText( const css::uno::Reference< css::uno::XInterface >& _rxComponent ); diff --git a/reportdesign/source/ui/inc/GeometryHandler.hxx b/reportdesign/source/ui/inc/GeometryHandler.hxx index 19d6d3ad4e80..1632daa90c7f 100644 --- a/reportdesign/source/ui/inc/GeometryHandler.hxx +++ b/reportdesign/source/ui/inc/GeometryHandler.hxx @@ -237,7 +237,9 @@ namespace rptui public: // XServiceInfo - static versions + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(const css::uno::Reference< css::uno::XComponentContext >&); diff --git a/reportdesign/source/ui/inc/ReportComponentHandler.hxx b/reportdesign/source/ui/inc/ReportComponentHandler.hxx index b44999595bba..865e06911054 100644 --- a/reportdesign/source/ui/inc/ReportComponentHandler.hxx +++ b/reportdesign/source/ui/inc/ReportComponentHandler.hxx @@ -45,7 +45,9 @@ namespace rptui { public: // XServiceInfo - static versions + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static( ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_static( ) throw(css::uno::RuntimeException); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(const css::uno::Reference< css::uno::XComponentContext >&); diff --git a/reportdesign/source/ui/inc/ReportController.hxx b/reportdesign/source/ui/inc/ReportController.hxx index 4ee9b4aac3a5..7634bf0ec8e5 100644 --- a/reportdesign/source/ui/inc/ReportController.hxx +++ b/reportdesign/source/ui/inc/ReportController.hxx @@ -358,7 +358,9 @@ namespace rptui virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override; // need by registration + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/ui/inc/statusbarcontroller.hxx b/reportdesign/source/ui/inc/statusbarcontroller.hxx index 28a2ce27f551..c2f11e4303d7 100644 --- a/reportdesign/source/ui/inc/statusbarcontroller.hxx +++ b/reportdesign/source/ui/inc/statusbarcontroller.hxx @@ -37,7 +37,9 @@ namespace rptui public: OStatusbarController(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); diff --git a/reportdesign/source/ui/inc/toolboxcontroller.hxx b/reportdesign/source/ui/inc/toolboxcontroller.hxx index 288811a420e7..2e6198072321 100644 --- a/reportdesign/source/ui/inc/toolboxcontroller.hxx +++ b/reportdesign/source/ui/inc/toolboxcontroller.hxx @@ -57,7 +57,9 @@ namespace rptui virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override; // need by registration + /// @throws css::uno::RuntimeException static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( css::uno::RuntimeException ); static css::uno::Reference< css::uno::XInterface > SAL_CALL create(css::uno::Reference< css::uno::XComponentContext > const & xContext); |