diff options
Diffstat (limited to 'include/rtl/ustring.hxx')
-rw-r--r-- | include/rtl/ustring.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx index 9815f9fe277e..b9a868b314a0 100644 --- a/include/rtl/ustring.hxx +++ b/include/rtl/ustring.hxx @@ -376,6 +376,15 @@ public: #endif /** + Clears the string, i.e, makes a zero-character string + @since LibreOffice 4.4 + */ + void clear() + { + rtl_uString_new( &pData ); + } + + /** Returns the length of this string. The length is equal to the number of Unicode characters in this string. |