Kaydet (Commit) 8c365765 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Tweak comments

(Preventing documentation of macros via @cond ... @endcond is apparently at
least broken in Doxygen 1.8.3 and working in Doxygen 1.8.4.)

Change-Id: I2ee582119dba2c3d27db5298786d3076921af46d
üst 54054514
......@@ -163,12 +163,11 @@ public:
sal_Int32 myVal = myAny.get<sal_Int32>();
</pre>
Widening conversion without data loss is taken into account.
Throws a
<type scope="com::sun::star::uno">RuntimeException</type>
if the specified type cannot be provided.
Throws a com::sun::star::uno::RuntimeException if the specified type
cannot be provided.
@return value of specified type
@exception <type scope="com::sun::star::uno">RuntimeException</type>
@exception com::sun::star::uno::RuntimeException
in case the specified type cannot be provided
*/
template <typename T>
......
......@@ -48,9 +48,10 @@ namespace osl
/** The SocketAddr takes over the responsibility of the handle ( which means,
that the handle gets destructed by the destructor of this reference)
@param Addr a handle
@param nocopy use SAL_NO_COPY
*/
inline SocketAddr(const oslSocketAddr , __osl_socket_NoCopy nocopy );
inline SocketAddr(const oslSocketAddr Addr, __osl_socket_NoCopy nocopy );
/** Copyconstructs the oslSocketAddr handle.
*/
......
......@@ -47,6 +47,7 @@
namespace rtl
{
/// @cond INTERNAL
#ifdef RTL_STRING_UNITTEST
#undef rtl
// helper macro to make functions appear more readable
......@@ -54,6 +55,7 @@ namespace rtl
#else
#define RTL_STRING_CONST_FUNCTION
#endif
/// @endcond
/** A string buffer implements a mutable sequence of characters.
<p>
......
......@@ -53,6 +53,7 @@
namespace rtl
{
/// @cond INTERNAL
#ifdef RTL_STRING_UNITTEST
#undef rtl
// helper macro to make functions appear more readable
......@@ -60,6 +61,7 @@ namespace rtl
#else
#define RTL_STRING_CONST_FUNCTION
#endif
/// @endcond
/* ======================================================================= */
......@@ -1638,8 +1640,10 @@ inline std::basic_ostream<charT, traits> & operator <<(
return stream << OString( concat );
}
#else
// non-RTL_FAST_CODE needs this to compile
// non-RTL_FAST_STRING needs this to compile
/// @cond INTERNAL
typedef OString OStringLiteral;
/// @endcond
#endif
......@@ -1663,14 +1667,14 @@ struct OStringHash
{ return (size_t)rString.hashCode(); }
};
/** Equality functor for classic c-strings (i.e. null-terminated char* strings) */
/** Equality functor for classic c-strings (i.e., null-terminated char* strings). */
struct CStringEqual
{
bool operator()( const char* p1, const char* p2) const
{ return rtl_str_compare(p1, p2) == 0; }
};
/** Hashing functor for classic c-strings (i.e. null-terminated char* strings) */
/** Hashing functor for classic c-strings (i.e., null-terminated char* strings). */
struct CStringHash
{
size_t operator()(const char* p) const
......
......@@ -2287,8 +2287,10 @@ inline std::basic_ostream<charT, traits> & operator <<(
return stream << OUString( concat );
}
#else
// non-RTL_FAST_CODE needs this to compile
// non-RTL_FAST_STRING needs this to compile
/// @cond INTERNAL
typedef OUString OUStringLiteral;
/// @endcond
#endif
/** A helper to use OUStrings with hash maps.
......
......@@ -34,6 +34,6 @@ MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
PREDEFINED = __cplusplus \
SAL_CALL= \
SAL_DEPRECATED_INTERNAL= \
SAL_DEPRECATED= \
SAL_DEPRECATED_INTERNAL(x)= \
SAL_DEPRECATED(x)= \
"SAL_THROW(x)=throw x"
......@@ -30,7 +30,7 @@
module com { module sun { module star { module awt {
/** Sspecifies a provider for dialogs implementing the
/** Specifies a provider for dialogs implementing the
<type scope="com::sun::star::awt">XDialog</type> interface.
*/
service DialogProvider : com::sun::star::awt::XDialogProvider
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment