diff options
Diffstat (limited to 'sfx2/source/view/ipclient.cxx')
-rwxr-xr-x | sfx2/source/view/ipclient.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 903e4d35ece8..0fa6c1d54e18 100755 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -693,7 +693,7 @@ void SfxInPlaceClient::SetObjectState( sal_Int32 nState ) if ( m_pImp->m_nAspect == embed::Aspects::MSOLE_ICON && ( nState == embed::EmbedStates::UI_ACTIVE || nState == embed::EmbedStates::INPLACE_ACTIVE ) ) { - OSL_ENSURE( sal_False, "Iconified object should not be activated inplace!\n" ); + OSL_FAIL( "Iconified object should not be activated inplace!\n" ); return; } @@ -738,7 +738,7 @@ void SfxInPlaceClient::SetObject( const uno::Reference < embed::XEmbeddedObject } catch( uno::Exception& ) { - OSL_ENSURE( sal_False, "Can not clean the client site!\n" ); + OSL_FAIL( "Can not clean the client site!\n" ); } } } @@ -762,7 +762,7 @@ void SfxInPlaceClient::SetObject( const uno::Reference < embed::XEmbeddedObject } catch( uno::Exception& ) { - OSL_ENSURE( sal_False, "Can not set the client site!\n" ); + OSL_FAIL( "Can not set the client site!\n" ); } m_pImp->m_aTimer.Start(); |