summaryrefslogtreecommitdiff
path: root/sal/inc/rtl/strbuf.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-12-02 11:07:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-12-02 11:08:16 +0100
commit0b14a86f8a1c77683db2e81cb4604c077b572cf7 (patch)
tree896eac49132f15299b57cc5b905a3533f5f71486 /sal/inc/rtl/strbuf.hxx
parent05fddab006719d9d023787d7e6ee9b979907c048 (diff)
Mark rtl::O[U]StringBuffer::{charAt,setCharAt} as SAL_DEPRECATED.
Diffstat (limited to 'sal/inc/rtl/strbuf.hxx')
-rw-r--r--sal/inc/rtl/strbuf.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/inc/rtl/strbuf.hxx b/sal/inc/rtl/strbuf.hxx
index 3ea6bc0db216..2f92b0fc23c3 100644
--- a/sal/inc/rtl/strbuf.hxx
+++ b/sal/inc/rtl/strbuf.hxx
@@ -281,6 +281,7 @@ public:
@param index the index of the desired character.
@return the character at the specified index of this string buffer.
*/
+ SAL_DEPRECATED("use rtl::OStringBuffer::operator [] instead")
sal_Char charAt( sal_Int32 index )
{
assert(index >= 0 && index < pData->length);
@@ -297,6 +298,7 @@ public:
@param index the index of the character to modify.
@param ch the new character.
*/
+ SAL_DEPRECATED("use rtl::OStringBuffer::operator [] instead")
OStringBuffer & setCharAt(sal_Int32 index, sal_Char ch)
{
assert(index >= 0 && index < pData->length);