summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorth <th@openoffice.org>2001-05-17 09:06:58 +0000
committerth <th@openoffice.org>2001-05-17 09:06:58 +0000
commit5a9c84fa67deebcc9463a099d7d33c9fa3870592 (patch)
tree0d1473f60965cfd832c6d51b7665c82044f5c079 /sal
parente3a03dea08deb16e6f609dd16646c60d8cf9de2b (diff)
#87140# - int -> sal_Int32
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/rtl/string.hxx10
-rw-r--r--sal/inc/rtl/ustring.hxx10
2 files changed, 10 insertions, 10 deletions
diff --git a/sal/inc/rtl/string.hxx b/sal/inc/rtl/string.hxx
index e252f0314287..e14b81242b8d 100644
--- a/sal/inc/rtl/string.hxx
+++ b/sal/inc/rtl/string.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: string.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: th $ $Date: 2001-05-09 15:23:37 $
+ * last change: $Author: th $ $Date: 2001-05-17 10:06:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -411,7 +411,7 @@ public:
is less or than or equal to fromIndex, or <code>-1</code>
if the character does not occur before that point.
*/
- sal_Int32 lastIndexOf( sal_Char ch, int fromIndex ) const SAL_THROW(())
+ sal_Int32 lastIndexOf( sal_Char ch, sal_Int32 fromIndex ) const SAL_THROW(())
{
return rtl_str_lastIndexOfChar_WithLength( pData->buffer, fromIndex, ch );
}
@@ -430,7 +430,7 @@ public:
returned. If it does not occur as a substring starting
at fromIndex or beyond, <code>-1</code> is returned.
*/
- sal_Int32 indexOf( const OString & str, int fromIndex = 0 ) const SAL_THROW(())
+ sal_Int32 indexOf( const OString & str, sal_Int32 fromIndex = 0 ) const SAL_THROW(())
{
sal_Int32 ret = rtl_str_indexOfStr_WithLength( pData->buffer+fromIndex, pData->length-fromIndex,
str.pData->buffer, str.pData->length );
@@ -473,7 +473,7 @@ public:
returned. If it does not occur as a substring starting
at fromIndex or earlier, <code>-1</code> is returned.
*/
- sal_Int32 lastIndexOf( const OString & str, int fromIndex ) const SAL_THROW(())
+ sal_Int32 lastIndexOf( const OString & str, sal_Int32 fromIndex ) const SAL_THROW(())
{
return rtl_str_lastIndexOfStr_WithLength( pData->buffer, fromIndex,
str.pData->buffer, str.pData->length );
diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx
index 82b81aaac32d..77c525352e86 100644
--- a/sal/inc/rtl/ustring.hxx
+++ b/sal/inc/rtl/ustring.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ustring.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: th $ $Date: 2001-05-09 15:23:46 $
+ * last change: $Author: th $ $Date: 2001-05-17 10:06:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -427,7 +427,7 @@ public:
is less or than or equal to fromIndex, or <code>-1</code>
if the character does not occur before that point.
*/
- sal_Int32 lastIndexOf( sal_Unicode ch, int fromIndex ) const SAL_THROW(())
+ sal_Int32 lastIndexOf( sal_Unicode ch, sal_Int32 fromIndex ) const SAL_THROW(())
{
return rtl_ustr_lastIndexOfChar_WithLength( pData->buffer, fromIndex, ch );
}
@@ -446,7 +446,7 @@ public:
returned. If it does not occur as a substring starting
at fromIndex or beyond, <code>-1</code> is returned.
*/
- sal_Int32 indexOf( const OUString & str, int fromIndex = 0 ) const SAL_THROW(())
+ sal_Int32 indexOf( const OUString & str, sal_Int32 fromIndex = 0 ) const SAL_THROW(())
{
sal_Int32 ret = rtl_ustr_indexOfStr_WithLength( pData->buffer+fromIndex, pData->length-fromIndex,
str.pData->buffer, str.pData->length );
@@ -489,7 +489,7 @@ public:
returned. If it does not occur as a substring starting
at fromIndex or earlier, <code>-1</code> is returned.
*/
- sal_Int32 lastIndexOf( const OUString & str, int fromIndex ) const SAL_THROW(())
+ sal_Int32 lastIndexOf( const OUString & str, sal_Int32 fromIndex ) const SAL_THROW(())
{
return rtl_ustr_lastIndexOfStr_WithLength( pData->buffer, fromIndex,
str.pData->buffer, str.pData->length );