summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterNotesView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterNotesView.cxx')
-rw-r--r--sdext/source/presenter/PresenterNotesView.cxx8
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);