summaryrefslogtreecommitdiff
path: root/dtrans/source/generic
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2001-03-22 13:28:22 +0000
committerJoachim Lingner <jl@openoffice.org>2001-03-22 13:28:22 +0000
commit58f0bda3440680b4e3f99803035828a7959256e1 (patch)
tree93bea7e6c7f5a281d6db934a03dc2ff1bacc300d /dtrans/source/generic
parent614e9d2d3f2cecaabc91d2461112ecd89991a589 (diff)
OSL_ENSHURE replaced by OSL_ENSURE
Diffstat (limited to 'dtrans/source/generic')
-rw-r--r--dtrans/source/generic/dtrans.cxx6
-rw-r--r--dtrans/source/generic/generic_clipboard.cxx10
2 files changed, 8 insertions, 8 deletions
diff --git a/dtrans/source/generic/dtrans.cxx b/dtrans/source/generic/dtrans.cxx
index 1219f993ac74..3b12fe950859 100644
--- a/dtrans/source/generic/dtrans.cxx
+++ b/dtrans/source/generic/dtrans.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dtrans.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: mh $ $Date: 2001-01-31 15:36:59 $
+ * last change: $Author: jl $ $Date: 2001-03-22 14:26:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -110,7 +110,7 @@ sal_Bool SAL_CALL component_writeInfo(void * pServiceManager, void * pRegistryKe
}
catch (InvalidRegistryException &)
{
- OSL_ENSHURE( sal_False, "### InvalidRegistryException!" );
+ OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
}
}
diff --git a/dtrans/source/generic/generic_clipboard.cxx b/dtrans/source/generic/generic_clipboard.cxx
index dd8e2fb2c970..73b386309a14 100644
--- a/dtrans/source/generic/generic_clipboard.cxx
+++ b/dtrans/source/generic/generic_clipboard.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: generic_clipboard.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: mh $ $Date: 2001-01-31 15:37:00 $
+ * last change: $Author: jl $ $Date: 2001-03-22 14:26:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -216,8 +216,8 @@ void SAL_CALL OClipboard::addClipboardListener( const Reference< XClipboardListe
throw(RuntimeException)
{
MutexGuard aGuard( rBHelper.rMutex );
- OSL_ENSHURE( !rBHelper.bInDispose, "do not add listeners in the dispose call" );
- OSL_ENSHURE( !rBHelper.bDisposed, "object is disposed" );
+ OSL_ENSURE( !rBHelper.bInDispose, "do not add listeners in the dispose call" );
+ OSL_ENSURE( !rBHelper.bDisposed, "object is disposed" );
if (!rBHelper.bInDispose && !rBHelper.bDisposed)
rBHelper.aLC.addInterface( getCppuType( (const ::com::sun::star::uno::Reference< XClipboardListener > *) 0), listener );
}
@@ -228,7 +228,7 @@ void SAL_CALL OClipboard::removeClipboardListener( const Reference< XClipboardLi
throw(RuntimeException)
{
MutexGuard aGuard( rBHelper.rMutex );
- OSL_ENSHURE( !rBHelper.bDisposed, "object is disposed" );
+ OSL_ENSURE( !rBHelper.bDisposed, "object is disposed" );
if (!rBHelper.bInDispose && !rBHelper.bDisposed)
rBHelper.aLC.removeInterface( getCppuType( (const Reference< XClipboardListener > *) 0 ), listener ); \
}