diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 11:41:23 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:13:33 +0100 |
commit | c64a901829e5dedf12422edfb6bb7bc94a8357a5 (patch) | |
tree | 29de7e95e46da1149ca8ac24022cd25b4dcefad3 /slideshow/source/engine/slideview.cxx | |
parent | 2c5e690eb8b6aaaad0a1c57fc533e23e4164b8f0 (diff) |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'slideshow/source/engine/slideview.cxx')
-rw-r--r-- | slideshow/source/engine/slideview.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/slideshow/source/engine/slideview.cxx b/slideshow/source/engine/slideview.cxx index 04f840f4458f..fc632afd3b13 100644 --- a/slideshow/source/engine/slideview.cxx +++ b/slideshow/source/engine/slideview.cxx @@ -792,8 +792,7 @@ SlideView::SlideView( const uno::Reference<presentation::XSlideShowView>& xView, basegfx::B2DVector(aViewTransform.m01, aViewTransform.m11).getLength()) ) { - OSL_ENSURE( false, - "SlideView::SlideView(): Singular matrix!" ); + OSL_FAIL( "SlideView::SlideView(): Singular matrix!" ); canvas::tools::setIdentityAffineMatrix2D(aViewTransform); } @@ -950,8 +949,7 @@ void SlideView::setPriority( const basegfx::B1DRange& /*rRange*/ ) { osl::MutexGuard aGuard( m_aMutex ); - OSL_ENSURE( false, - "SlideView::setPriority() is a NOOP for slide view - " + OSL_FAIL( "SlideView::setPriority() is a NOOP for slide view - " "content will always be shown in the background" ); } @@ -988,8 +986,7 @@ bool SlideView::resize( const ::basegfx::B2DRange& /*rArea*/ ) { osl::MutexGuard aGuard( m_aMutex ); - OSL_ENSURE( false, - "SlideView::resize(): ignored for the View, can't change size " + OSL_FAIL( "SlideView::resize(): ignored for the View, can't change size " "effectively, anyway" ); return false; @@ -1056,8 +1053,7 @@ void SlideView::modified( const lang::EventObject& /*aEvent*/ ) basegfx::B2DVector(aViewTransform.m01, aViewTransform.m11).getLength()) ) { - OSL_ENSURE( false, - "SlideView::modified(): Singular matrix!" ); + OSL_FAIL( "SlideView::modified(): Singular matrix!" ); canvas::tools::setIdentityAffineMatrix2D(aViewTransform); } |