Kaydet (Commit) cd5e4be7 authored tarafından Muthu Subramanian's avatar Muthu Subramanian

Add append(bool) to OStringBuffer.

üst 6fa26233
......@@ -532,6 +532,23 @@ public:
return append( sz, rtl_str_valueOfBoolean( sz, b ) );
}
/**
Appends the string representation of the <code>bool</code>
argument to the string buffer.
The argument is converted to a string as if by the method
<code>String.valueOf</code>, and the characters of that
string are then appended to this string buffer.
@param b a <code>bool</code>.
@return this string buffer.
*/
OStringBuffer & append(bool b)
{
sal_Char sz[RTL_STR_MAX_VALUEOFBOOLEAN];
return append( sz, rtl_str_valueOfBoolean( sz, b ) );
}
/**
Appends the string representation of the <code>char</code>
argument to this string buffer.
......
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