Kaydet (Commit) 584612a9 authored tarafından Chr. Rossmanith's avatar Chr. Rossmanith

improve comments of isEmpty()

Change-Id: I6542470c2d4b27de25e263651e25baf85c7d018d
üst fbdaa717
...@@ -289,6 +289,19 @@ public: ...@@ -289,6 +289,19 @@ public:
return pData->length; return pData->length;
} }
/**
Checks if a string buffer is empty.
@return true if the string buffer is empty;
false, otherwise.
@since LibreOffice 4.1
*/
bool isEmpty() const SAL_THROW(())
{
return pData->length == 0;
}
/** /**
Returns the current capacity of the String buffer. Returns the current capacity of the String buffer.
......
...@@ -356,8 +356,8 @@ public: ...@@ -356,8 +356,8 @@ public:
/** /**
Checks if a string is empty. Checks if a string is empty.
@return sal_True if the string is empty; @return true if the string is empty;
sal_False, otherwise. false, otherwise.
@since LibreOffice 3.4 @since LibreOffice 3.4
*/ */
......
...@@ -284,10 +284,10 @@ public: ...@@ -284,10 +284,10 @@ public:
/** /**
Checks if a string buffer is empty. Checks if a string buffer is empty.
@return sal_True if the string buffer is empty; @return true if the string buffer is empty;
sal_False, otherwise. false, otherwise.
@since LibreOffice 4.0 @since LibreOffice 4.1
*/ */
bool isEmpty() const SAL_THROW(()) bool isEmpty() const SAL_THROW(())
{ {
......
...@@ -446,8 +446,8 @@ public: ...@@ -446,8 +446,8 @@ public:
/** /**
Checks if a string is empty. Checks if a string is empty.
@return sal_True if the string is empty; @return true if the string is empty;
sal_False, otherwise. false, otherwise.
@since LibreOffice 3.4 @since LibreOffice 3.4
*/ */
......
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