diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:09:49 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:09:49 +0100 |
commit | 970be45287de1a046df1c546abb06ad5f6b9c084 (patch) | |
tree | 0a88a771e96b5e9d884e5b087adad9d320bdbe7b /embeddedobj/source/msole/olevisual.cxx | |
parent | e35cffb37a792b78f8dbcd85b329fa88097b1ea5 (diff) |
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'embeddedobj/source/msole/olevisual.cxx')
-rwxr-xr-x | embeddedobj/source/msole/olevisual.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embeddedobj/source/msole/olevisual.cxx b/embeddedobj/source/msole/olevisual.cxx index cafafec515ba..d6b019e662d1 100755 --- a/embeddedobj/source/msole/olevisual.cxx +++ b/embeddedobj/source/msole/olevisual.cxx @@ -137,7 +137,7 @@ void SAL_CALL OleEmbeddedObject::setVisualAreaSize( sal_Int64 nAspect, const awt } catch( uno::Exception& ) { - OSL_ENSURE( sal_False, "The object should not be resized without activation!\n" ); + OSL_FAIL( "The object should not be resized without activation!\n" ); } aGuard.reset(); } @@ -220,7 +220,7 @@ awt::Size SAL_CALL OleEmbeddedObject::getVisualAreaSize( sal_Int64 nAspect ) sal_Bool bSuccess = sal_False; if ( getCurrentState() == embed::EmbedStates::LOADED ) { - OSL_ENSURE( sal_False, "Loaded object has no cached size!\n" ); + OSL_FAIL( "Loaded object has no cached size!\n" ); // try to switch the object to RUNNING state and request the value again try { |