diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-12-02 11:07:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-12-02 11:08:16 +0100 |
commit | 0b14a86f8a1c77683db2e81cb4604c077b572cf7 (patch) | |
tree | 896eac49132f15299b57cc5b905a3533f5f71486 /sal | |
parent | 05fddab006719d9d023787d7e6ee9b979907c048 (diff) |
Mark rtl::O[U]StringBuffer::{charAt,setCharAt} as SAL_DEPRECATED.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/rtl/strbuf.hxx | 2 | ||||
-rw-r--r-- | sal/inc/rtl/ustrbuf.hxx | 2 |
2 files changed, 4 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); diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx index b4d4871e6d2f..d9c3893a5bd6 100644 --- a/sal/inc/rtl/ustrbuf.hxx +++ b/sal/inc/rtl/ustrbuf.hxx @@ -260,6 +260,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::OUStringBuffer::operator [] instead") sal_Unicode charAt( sal_Int32 index ) const { assert(index >= 0 && index < pData->length); @@ -276,6 +277,7 @@ public: @param index the index of the character to modify. @param ch the new character. */ + SAL_DEPRECATED("use rtl::OUStringBuffer::operator [] instead") OUStringBuffer & setCharAt(sal_Int32 index, sal_Unicode ch) { assert(index >= 0 && index < pData->length); |