summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/view/SlsLayouter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/view/SlsLayouter.cxx')
-rw-r--r--sd/source/ui/slidesorter/view/SlsLayouter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/view/SlsLayouter.cxx b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
index e276b5f95514..1728cc390c3f 100644
--- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
@@ -325,7 +325,7 @@ bool Layouter::Rearrange (
const Size& rPageSize,
const sal_uInt32 nPageCount)
{
- assert(mpWindow);
+ OSL_ASSERT(mpWindow);
if (eOrientation != mpImplementation->GetOrientation())
mpImplementation.reset(Implementation::Create(*mpImplementation, eOrientation));
@@ -842,7 +842,7 @@ Size Layouter::Implementation::GetTargetSize (
return maPreferredSize;
if ( ! (bCalculateWidth || bCalculateHeight))
{
- assert(bCalculateWidth || bCalculateHeight);
+ OSL_ASSERT(bCalculateWidth || bCalculateHeight);
return maPreferredSize;
}