summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx')
-rw-r--r--sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx
index 39e25aec4800..b4d41cc4ddff 100644
--- a/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx
@@ -165,7 +165,7 @@ PageObjectLayouter::~PageObjectLayouter()
const CoordinateSystem eCoordinateSystem,
bool bIgnoreLocation)
{
- assert(rpPageDescriptor);
+ OSL_ASSERT(rpPageDescriptor);
Point aLocation(0,0);
if (rpPageDescriptor)
aLocation = rpPageDescriptor->GetLocation( bIgnoreLocation );
@@ -228,7 +228,7 @@ Size PageObjectLayouter::GetGridMaxSize()
Size PageObjectLayouter::GetPageNumberAreaSize (const int nPageCount)
{
- assert(mpWindow);
+ OSL_ASSERT(mpWindow);
// Set the correct font.
vcl::Font aOriginalFont (mpWindow->GetFont());