diff options
author | Joachim Lingner <jl@openoffice.org> | 2001-03-22 13:28:22 +0000 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2001-03-22 13:28:22 +0000 |
commit | 58f0bda3440680b4e3f99803035828a7959256e1 (patch) | |
tree | 93bea7e6c7f5a281d6db934a03dc2ff1bacc300d /dtrans/source/generic/generic_clipboard.cxx | |
parent | 614e9d2d3f2cecaabc91d2461112ecd89991a589 (diff) |
OSL_ENSHURE replaced by OSL_ENSURE
Diffstat (limited to 'dtrans/source/generic/generic_clipboard.cxx')
-rw-r--r-- | dtrans/source/generic/generic_clipboard.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 ); \ } |