summaryrefslogtreecommitdiff
path: root/sal/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sb@openoffice.org>2002-10-17 12:06:16 +0000
committerStephan Bergmann <sb@openoffice.org>2002-10-17 12:06:16 +0000
commitd80034952f94e7b468d442e07aa019cf14064f2f (patch)
treeb6c0d9c79d5d7c3512f4e20e21e0866a7d4084d9 /sal/inc
parent90be862021b2b8d85da8f4155e6f6e4a1e571e10 (diff)
#104229# Fixed typos.
Diffstat (limited to 'sal/inc')
-rw-r--r--sal/inc/rtl/string.hxx8
-rw-r--r--sal/inc/rtl/ustring.hxx8
2 files changed, 8 insertions, 8 deletions
diff --git a/sal/inc/rtl/string.hxx b/sal/inc/rtl/string.hxx
index bbf737a6379f..1753c938e0e6 100644
--- a/sal/inc/rtl/string.hxx
+++ b/sal/inc/rtl/string.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: string.hxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: sb $ $Date: 2002-10-16 12:08:07 $
+ * last change: $Author: sb $ $Date: 2002-10-17 13:06:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -574,7 +574,7 @@ public:
*/
OString copy( sal_Int32 beginIndex ) const SAL_THROW(())
{
- OSL_ENSURE(beginIndex >= 0 && beginIndex <= getLength());
+ OSL_ASSERT(beginIndex >= 0 && beginIndex <= getLength());
if ( beginIndex == 0 )
return *this;
else
@@ -598,7 +598,7 @@ public:
*/
OString copy( sal_Int32 beginIndex, sal_Int32 count ) const SAL_THROW(())
{
- OSL_ENSURE(beginIndex >= 0 && beginIndex <= getLength()
+ OSL_ASSERT(beginIndex >= 0 && beginIndex <= getLength()
&& count >= 0 && count <= getLength() - beginIndex);
if ( (beginIndex == 0) && (count == getLength()) )
return *this;
diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx
index da727a74a890..c59913cff841 100644
--- a/sal/inc/rtl/ustring.hxx
+++ b/sal/inc/rtl/ustring.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ustring.hxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: sb $ $Date: 2002-10-16 12:08:09 $
+ * last change: $Author: sb $ $Date: 2002-10-17 13:06:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -805,7 +805,7 @@ public:
*/
OUString copy( sal_Int32 beginIndex ) const SAL_THROW(())
{
- OSL_ENSURE(beginIndex >= 0 && beginIndex <= getLength());
+ OSL_ASSERT(beginIndex >= 0 && beginIndex <= getLength());
if ( beginIndex == 0 )
return *this;
else
@@ -829,7 +829,7 @@ public:
*/
OUString copy( sal_Int32 beginIndex, sal_Int32 count ) const SAL_THROW(())
{
- OSL_ENSURE(beginIndex >= 0 && beginIndex <= getLength()
+ OSL_ASSERT(beginIndex >= 0 && beginIndex <= getLength()
&& count >= 0 && count <= getLength() - beginIndex);
if ( (beginIndex == 0) && (count == getLength()) )
return *this;