diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
commit | 97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch) | |
tree | 7974a8b9423c56982646366b0859dfb2a1a88d50 /sdext/source/presenter/PresenterNotesView.cxx | |
parent | tdf#43157: convert sd module away from OSL_ASSERT to assert (diff) | |
download | core-97eb00c75e173d4c8d0b483a7941ad3d2f23783e.tar.gz core-97eb00c75e173d4c8d0b483a7941ad3d2f23783e.zip |
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'sdext/source/presenter/PresenterNotesView.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterNotesView.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/presenter/PresenterNotesView.cxx b/sdext/source/presenter/PresenterNotesView.cxx index 668c4545f81f..4fc1ac3a4995 100644 --- a/sdext/source/presenter/PresenterNotesView.cxx +++ b/sdext/source/presenter/PresenterNotesView.cxx @@ -456,7 +456,7 @@ void PresenterNotesView::Layout() } catch(beans::UnknownPropertyException&) { - assert(false); + OSL_ASSERT(false); } if(AllSettings::GetLayoutRTL()) { @@ -552,7 +552,7 @@ void PresenterNotesView::PaintToolBar (const awt::Rectangle& rUpdateBox) } // Paint the horizontal separator. - assert(mxViewId.is()); + OSL_ASSERT(mxViewId.is()); PresenterCanvasHelper::SetDeviceColor(aRenderState, maSeparatorColor); mxCanvas->drawLine( @@ -660,7 +660,7 @@ void PresenterNotesView::ChangeFontSize (const sal_Int32 nSizeChange) } catch (Exception&) { - assert(false); + OSL_ASSERT(false); } } } @@ -680,7 +680,7 @@ void PresenterNotesView::UpdateScrollBar() } catch(beans::UnknownPropertyException&) { - assert(false); + OSL_ASSERT(false); } mpScrollBar->SetLineHeight(mpFont->mnSize*1.2); |