summaryrefslogtreecommitdiff
path: root/oox/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:54:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:17 +0100
commit8955ce4ede374ed2af4477850809d21a2b5e6dd6 (patch)
treec71999765695c03d4620abe3e3f63994bebb3094 /oox/inc
parentde70ad0b0c65f4ae5dbdb156e1b9aa1d22855b2c (diff)
New loplugin:dynexcspec: Add @throws documentation, oox
Change-Id: I83c6995e4f15d6a042e57bac4d71874124402547
Diffstat (limited to 'oox/inc')
-rw-r--r--oox/inc/services.hxx64
1 files changed, 49 insertions, 15 deletions
diff --git a/oox/inc/services.hxx b/oox/inc/services.hxx
index ab63321fce91..619f95550098 100644
--- a/oox/inc/services.hxx
+++ b/oox/inc/services.hxx
@@ -22,24 +22,58 @@
#include <sal/config.h>
-#define DECLARE_FUNCTIONS( className ) \
-extern OUString SAL_CALL className##_getImplementationName(); \
-extern css::uno::Sequence< OUString > SAL_CALL className##_getSupportedServiceNames(); \
-extern css::uno::Reference< css::uno::XInterface > SAL_CALL className##_createInstance( \
-const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw (css::uno::Exception)
-
namespace oox {
- namespace core { DECLARE_FUNCTIONS( FastTokenHandler ); }
- namespace core { DECLARE_FUNCTIONS( FilterDetect ); }
- namespace docprop { DECLARE_FUNCTIONS( DocumentPropertiesImport ); }
- namespace ppt { DECLARE_FUNCTIONS( PowerPointImport ); }
- namespace ppt { DECLARE_FUNCTIONS( QuickDiagrammingImport ); }
- namespace ppt { DECLARE_FUNCTIONS( QuickDiagrammingLayout ); }
- namespace shape { DECLARE_FUNCTIONS( ShapeContextHandler ); }
+ namespace core {
+ extern OUString SAL_CALL FastTokenHandler_getImplementationName();
+ extern css::uno::Sequence< OUString > SAL_CALL FastTokenHandler_getSupportedServiceNames();
+ /// @throws css::uno::Exception
+ extern css::uno::Reference< css::uno::XInterface > SAL_CALL FastTokenHandler_createInstance(
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw (css::uno::Exception);
+ }
+ namespace core {
+ extern OUString SAL_CALL FilterDetect_getImplementationName();
+ extern css::uno::Sequence< OUString > SAL_CALL FilterDetect_getSupportedServiceNames();
+ /// @throws css::uno::Exception
+ extern css::uno::Reference< css::uno::XInterface > SAL_CALL FilterDetect_createInstance(
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw (css::uno::Exception);
+ }
+ namespace docprop {
+ extern OUString SAL_CALL DocumentPropertiesImport_getImplementationName();
+ extern css::uno::Sequence< OUString > SAL_CALL DocumentPropertiesImport_getSupportedServiceNames();
+ /// @throws css::uno::Exception
+ extern css::uno::Reference< css::uno::XInterface > SAL_CALL DocumentPropertiesImport_createInstance(
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw (css::uno::Exception);
+ }
+ namespace ppt {
+ extern OUString SAL_CALL PowerPointImport_getImplementationName();
+ extern css::uno::Sequence< OUString > SAL_CALL PowerPointImport_getSupportedServiceNames();
+ /// @throws css::uno::Exception
+ extern css::uno::Reference< css::uno::XInterface > SAL_CALL PowerPointImport_createInstance(
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw (css::uno::Exception);
+ }
+ namespace ppt {
+ extern OUString SAL_CALL QuickDiagrammingImport_getImplementationName();
+ extern css::uno::Sequence< OUString > SAL_CALL QuickDiagrammingImport_getSupportedServiceNames();
+ /// @throws css::uno::Exception
+ extern css::uno::Reference< css::uno::XInterface > SAL_CALL QuickDiagrammingImport_createInstance(
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw (css::uno::Exception);
+ }
+ namespace ppt {
+ extern OUString SAL_CALL QuickDiagrammingLayout_getImplementationName();
+ extern css::uno::Sequence< OUString > SAL_CALL QuickDiagrammingLayout_getSupportedServiceNames();
+ /// @throws css::uno::Exception
+ extern css::uno::Reference< css::uno::XInterface > SAL_CALL QuickDiagrammingLayout_createInstance(
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw (css::uno::Exception);
+ }
+ namespace shape {
+ extern OUString SAL_CALL ShapeContextHandler_getImplementationName();
+ extern css::uno::Sequence< OUString > SAL_CALL ShapeContextHandler_getSupportedServiceNames();
+ /// @throws css::uno::Exception
+ extern css::uno::Reference< css::uno::XInterface > SAL_CALL ShapeContextHandler_createInstance(
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext ) throw (css::uno::Exception);
+ }
}
-#undef DECLARE_FUNCTIONS
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */