summaryrefslogtreecommitdiff
path: root/include/svx/unoapi.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:50:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:12 +0100
commit9859ee7b1901449e63e4047554776f23c2de20ce (patch)
tree3facdb30c2c4bec900c666781859c4aefa7d45c1 /include/svx/unoapi.hxx
parent77894947ea5fcae00d8eeaee9482b53adfc6b7f2 (diff)
New loplugin:dynexcspec: Add @throws documentation, svx
Change-Id: I0e827554a18622e19aec5f81c40da52664783f69
Diffstat (limited to 'include/svx/unoapi.hxx')
-rw-r--r--include/svx/unoapi.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svx/unoapi.hxx b/include/svx/unoapi.hxx
index 35e7098ee051..d2bc9b62f820 100644
--- a/include/svx/unoapi.hxx
+++ b/include/svx/unoapi.hxx
@@ -38,6 +38,8 @@ enum class SdrInventor : sal_uInt32;
/**
* Creates a StarOffice API wrapper with the given type and inventor
* Deprecated: This will be replaced with a function returning XShape.
+ *
+ * @throws css::uno::RuntimeException
*/
SVX_DLLPUBLIC SvxShape* CreateSvxShapeByTypeAndInventor(sal_uInt16 nType, SdrInventor nInventor, OUString const & referer)
throw (css::uno::RuntimeException, std::exception);
@@ -75,6 +77,8 @@ SVX_DLLPUBLIC bool SvxFieldUnitToMeasureUnit( const FieldUnit nVcl, short& eApi
/**
* If the given name is a predefined name for the current language it is replaced by
* the corresponding API name.
+ *
+ * @throws std::exception
*/
SVX_DLLPUBLIC SAL_WARN_UNUSED_RESULT OUString
SvxUnogetApiNameForItem(const sal_Int16 nWhich, const OUString& rInternalName) throw(std::exception);
@@ -82,6 +86,8 @@ SVX_DLLPUBLIC SAL_WARN_UNUSED_RESULT OUString
/**
* If the given name is a predefined API name it is replaced by the predefined name
* for the current language.
+ *
+ * @throws std::exception
*/
SVX_DLLPUBLIC SAL_WARN_UNUSED_RESULT OUString
SvxUnogetInternalNameForItem(const sal_Int16 nWhich, const OUString& rApiName) throw(std::exception);