summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-11-28 13:39:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-11-28 15:02:06 +0100
commit04c79bcbbc3e646d7c9ae4f9388eb0134ec9a8b8 (patch)
treeb94a305443b309a78eb742b9de807f7605eae5e4 /sal
parent6676c4ebbd264448e1d7871c91c1b3ba72c0dda0 (diff)
Clean up previous rtl::OUStringBuffer changes
The OUString assignment operator is less transactional than it could be, but is also not necessasry, as OUStringBuffer has a non-explicit conversion constructor from OUString. Added some missing @since tags. Change-Id: I830be93fde78422c5a7eff9437b53e2d2d70933a
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/rtl/ustrbuf.hxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx
index ecea7153130e..d8db90523b16 100644
--- a/sal/inc/rtl/ustrbuf.hxx
+++ b/sal/inc/rtl/ustrbuf.hxx
@@ -223,15 +223,6 @@ public:
return *this;
}
- /** Assign to this a copy of value.
- */
- OUStringBuffer& operator = ( const OUString& value )
- {
- remove();
- append(value);
- return *this;
- }
-
/**
Release the string data.
*/
@@ -415,6 +406,8 @@ public:
@param str a string.
@return this string buffer.
+
+ @since LibreOffice 4.0
*/
OUStringBuffer & append(OUStringBuffer &str)
{
@@ -945,6 +938,8 @@ public:
@param start The beginning index, inclusive. default to 0
@return this string buffer.
+
+ @since LibreOffice 4.0
*/
OUStringBuffer & remove( sal_Int32 start = 0)
{