summaryrefslogtreecommitdiffstats
path: root/sal
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2011-12-01 18:58:46 -0500
committerAugust Sodora <augsod@gmail.com>2011-12-01 18:58:46 -0500
commit1820e7f575dffe53062f50f08cebf0efa37e2cc2 (patch)
tree4a2ae51d479e8c7a800f0d4b421a4b4c06f65964 /sal
parentonline update: Revert the UpdateInformationProvider::load() cleanup. (diff)
downloadcore-1820e7f575dffe53062f50f08cebf0efa37e2cc2.tar.gz
core-1820e7f575dffe53062f50f08cebf0efa37e2cc2.zip
Remove charAt/setCharAt once and for all
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/rtl/strbuf.hxx36
-rw-r--r--sal/inc/rtl/ustrbuf.hxx36
2 files changed, 0 insertions, 72 deletions
diff --git a/sal/inc/rtl/strbuf.hxx b/sal/inc/rtl/strbuf.hxx
index 3ea6bc0db216..e3ae74bc3b5f 100644
--- a/sal/inc/rtl/strbuf.hxx
+++ b/sal/inc/rtl/strbuf.hxx
@@ -269,42 +269,6 @@ public:
}
/**
- Returns the character at a specific index in this string buffer.
-
- The first character of a string buffer is at index
- <code>0</code>, the next at index <code>1</code>, and so on, for
- array indexing.
- <p>
- The index argument must be greater than or equal to
- <code>0</code>, and less than the length of this string buffer.
-
- @param index the index of the desired character.
- @return the character at the specified index of this string buffer.
- */
- sal_Char charAt( sal_Int32 index )
- {
- assert(index >= 0 && index < pData->length);
- return pData->buffer[ index ];
- }
-
- /**
- The character at the specified index of this string buffer is set
- to <code>ch</code>.
-
- The index argument must be greater than or equal to
- <code>0</code>, and less than the length of this string buffer.
-
- @param index the index of the character to modify.
- @param ch the new character.
- */
- OStringBuffer & setCharAt(sal_Int32 index, sal_Char ch)
- {
- assert(index >= 0 && index < pData->length);
- pData->buffer[ index ] = ch;
- return *this;
- }
-
- /**
Return a null terminated character array.
*/
const sal_Char* getStr() const { return pData->buffer; }
diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx
index b4d4871e6d2f..624b6f046258 100644
--- a/sal/inc/rtl/ustrbuf.hxx
+++ b/sal/inc/rtl/ustrbuf.hxx
@@ -248,42 +248,6 @@ public:
}
/**
- Returns the character at a specific index in this string buffer.
-
- The first character of a string buffer is at index
- <code>0</code>, the next at index <code>1</code>, and so on, for
- array indexing.
- <p>
- The index argument must be greater than or equal to
- <code>0</code>, and less than the length of this string buffer.
-
- @param index the index of the desired character.
- @return the character at the specified index of this string buffer.
- */
- sal_Unicode charAt( sal_Int32 index ) const
- {
- assert(index >= 0 && index < pData->length);
- return pData->buffer[ index ];
- }
-
- /**
- The character at the specified index of this string buffer is set
- to <code>ch</code>.
-
- The index argument must be greater than or equal to
- <code>0</code>, and less than the length of this string buffer.
-
- @param index the index of the character to modify.
- @param ch the new character.
- */
- OUStringBuffer & setCharAt(sal_Int32 index, sal_Unicode ch)
- {
- assert(index >= 0 && index < pData->length);
- pData->buffer[ index ] = ch;
- return *this;
- }
-
- /**
Return a null terminated unicode character array.
*/
const sal_Unicode* getStr() const { return pData->buffer; }