summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorKorrawit Pruegsanusak <detective.conan.1412@gmail.com>2017-10-12 22:40:51 +0700
committerMichael Stahl <mstahl@redhat.com>2017-10-17 13:26:12 +0200
commit167afaf1111af5dab7645ef6efd12528eaa0389d (patch)
tree9648780d8b53361019c51933313af6203291bc45 /include/comphelper
parent01b9fdb2712e1a10e9a24b11976bb4fb94ac5bd9 (diff)
correct wrong doxygen syntax; also comments clean-up
Change-Id: I6074241dfcdcd4ca8a365ab6e03f01028d2c1a7b Reviewed-on: https://gerrit.libreoffice.org/43344 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/extract.hxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/include/comphelper/extract.hxx b/include/comphelper/extract.hxx
index 4f4072145e71..4330faa1a625 100644
--- a/include/comphelper/extract.hxx
+++ b/include/comphelper/extract.hxx
@@ -34,7 +34,7 @@ namespace cppu
/**
* Sets enum from int32 value. This function does NOT check for valid enum values!
- *<BR>
+ *
* @param nEnum int32 enum value
* @param rType enum type
* @return enum or empty any.
@@ -48,10 +48,11 @@ inline css::uno::Any SAL_CALL int2enum(
/**
* Sets int32 from enum or int in any.
- *<BR>
- * @param rnEnum [out] int32 enum value
+ *
+ * @param[out] rnEnum int32 enum value
* @param rAny enum or int
- * @param sal_True if enum or int value was set else sal_False.
+ * @retval true if enum or int value was set
+ * @retval false otherwise
*/
inline bool enum2int( sal_Int32 & rnEnum, const css::uno::Any & rAny )
{
@@ -66,10 +67,10 @@ inline bool enum2int( sal_Int32 & rnEnum, const css::uno::Any & rAny )
/**
* Sets int32 from enum or int in any with additional typecheck
- * <BR>
- * @param rAny enum or int
- * @param eRet the enum value as int. If there is not enum of the given type or
+ *
+ * @param[out] eRet the enum value as int. If there is no enum of the given type
* a css::lang::IllegalArgumentException is thrown
+ * @param rAny enum or int
* @throws css::lang::IllegalArgumentException
*/
template< typename E >
@@ -88,7 +89,7 @@ inline void any2enum( E & eRet, const css::uno::Any & rAny )
}
/**
- * extracts a boolean either as a bool or an integer from
+ * Extracts a boolean either as a bool or an integer from
* an any. If there is no bool or integer inside the any
* a css::lang::IllegalArgumentException is thrown
*