diff options
-rw-r--r-- | include/rtl/stringconcat.hxx | 2 | ||||
-rw-r--r-- | include/rtl/ustrbuf.hxx | 1 | ||||
-rw-r--r-- | include/rtl/ustring.hxx | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/include/rtl/stringconcat.hxx b/include/rtl/stringconcat.hxx index 7f55d6c3473d..554fdd3f4403 100644 --- a/include/rtl/stringconcat.hxx +++ b/include/rtl/stringconcat.hxx @@ -59,7 +59,7 @@ Helper class for converting a given type to a string representation. template< typename T > struct ToStringHelper { - /// Return length of the string representation of the given object (if not known exactly, it needs to be the maximum). + /// Return length of the string representation of the given object. static std::size_t length( const T& ); /// Add 8-bit representation of the given object to the given buffer and return position right after the added data. static char* addData( char* buffer, const T& ) SAL_RETURNS_NONNULL; diff --git a/include/rtl/ustrbuf.hxx b/include/rtl/ustrbuf.hxx index f1f2521a8ae5..170b76908dff 100644 --- a/include/rtl/ustrbuf.hxx +++ b/include/rtl/ustrbuf.hxx @@ -239,7 +239,6 @@ public: sal_Unicode* end = c.addData( pData->buffer ); *end = '\0'; pData->length = l; - // TODO realloc in case pData->>length is noticeably smaller than l ? } /** diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx index 597a56832ad5..bb3390c19985 100644 --- a/include/rtl/ustring.hxx +++ b/include/rtl/ustring.hxx @@ -457,7 +457,6 @@ public: sal_Unicode* end = c.addData( pData->buffer ); pData->length = l; *end = '\0'; - // TODO realloc in case pData->length is noticeably smaller than l? } } |