From 4c81fe62c16b0ebc7f86ff589880169247584c8e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Jan 2017 17:58:58 +0100 Subject: New loplugin:dynexcspec: Add @throws documentation, dbaccess Change-Id: I117be0dca3cc5e204414613123422b4b0716d8ed --- dbaccess/source/filter/xml/xmlExport.cxx | 4 ++++ dbaccess/source/filter/xml/xmlExport.hxx | 2 ++ dbaccess/source/filter/xml/xmlfilter.hxx | 3 +++ 3 files changed, 9 insertions(+) (limited to 'dbaccess/source/filter') diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx index cd1d864eedbd..069e1a97b692 100644 --- a/dbaccess/source/filter/xml/xmlExport.cxx +++ b/dbaccess/source/filter/xml/xmlExport.cxx @@ -67,14 +67,18 @@ namespace dbaxml class ODBExportHelper { public: + /// @throws RuntimeException static OUString SAL_CALL getImplementationName_Static( ) throw (RuntimeException); + /// @throws RuntimeException static Sequence< OUString > SAL_CALL getSupportedServiceNames_Static( ) throw(RuntimeException); static Reference< XInterface > SAL_CALL Create(const Reference< css::lang::XMultiServiceFactory >&); }; class ODBFullExportHelper { public: + /// @throws RuntimeException static OUString SAL_CALL getImplementationName_Static( ) throw (RuntimeException); + /// @throws RuntimeException static Sequence< OUString > SAL_CALL getSupportedServiceNames_Static( ) throw(RuntimeException); static Reference< XInterface > SAL_CALL Create(const Reference< css::lang::XMultiServiceFactory >&); }; diff --git a/dbaccess/source/filter/xml/xmlExport.hxx b/dbaccess/source/filter/xml/xmlExport.hxx index a950b8e4c3dd..c0c6904f85e1 100644 --- a/dbaccess/source/filter/xml/xmlExport.hxx +++ b/dbaccess/source/filter/xml/xmlExport.hxx @@ -171,9 +171,11 @@ public: ODBExport(const Reference< XComponentContext >& _rxContext, OUString const & implementationName, SvXMLExportFlags nExportFlag = SvXMLExportFlags::CONTENT | SvXMLExportFlags::AUTOSTYLES | SvXMLExportFlags::PRETTY | SvXMLExportFlags::FONTDECLS | SvXMLExportFlags::SCRIPTS ); + /// @throws css::uno::RuntimeException static OUString SAL_CALL getImplementationName_Static() throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence SAL_CALL getSupportedServiceNames_Static() throw (css::uno::RuntimeException); diff --git a/dbaccess/source/filter/xml/xmlfilter.hxx b/dbaccess/source/filter/xml/xmlfilter.hxx index 6567ab41da5e..133a61d33fa7 100644 --- a/dbaccess/source/filter/xml/xmlfilter.hxx +++ b/dbaccess/source/filter/xml/xmlfilter.hxx @@ -81,6 +81,7 @@ private: Reference m_xDataSource; bool m_bNewFormat; + /// @throws RuntimeException bool implImport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException, std::exception); /** fills the map with the Properties @@ -108,9 +109,11 @@ public: // XFilter virtual sal_Bool SAL_CALL filter( const Sequence< PropertyValue >& rDescriptor ) throw(RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static OUString SAL_CALL getImplementationName_Static() throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence SAL_CALL getSupportedServiceNames_Static() throw (css::uno::RuntimeException); -- cgit