summaryrefslogtreecommitdiff
path: root/sal/inc/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'sal/inc/rtl')
-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 5f0b9b3fecc0..e3ae74bc3b5f 100644
--- a/sal/inc/rtl/strbuf.hxx
+++ b/sal/inc/rtl/strbuf.hxx
@@ -269,25 +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 ];
- }
-
- /**
Return a null terminated character array.
*/
const sal_Char* getStr() const { return pData->buffer; }
@@ -313,23 +294,6 @@ public:
}
/**
- 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;
- }
-
- /**
Appends the string to this string buffer.
The characters of the <code>String</code> argument are appended, in
diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx
index 2456316274d2..624b6f046258 100644
--- a/sal/inc/rtl/ustrbuf.hxx
+++ b/sal/inc/rtl/ustrbuf.hxx
@@ -248,25 +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 ];
- }
-
- /**
Return a null terminated unicode character array.
*/
const sal_Unicode* getStr() const { return pData->buffer; }
@@ -292,23 +273,6 @@ public:
}
/**
- 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;
- }
-
- /**
Appends the string to this string buffer.
The characters of the <code>String</code> argument are appended, in