summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 14:46:42 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 14:46:42 +1000
commitd0a99cc2ed76be220f7e868e332ba19f6e48a440 (patch)
tree56addcedd12a0a4f16471e55c46a7835857d5555 /sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
parent3965f4cb28676133dc37a926e56b4d612e2a57ba (diff)
tdf#43157: convert sd module away from OSL_ASSERT to assert
Change-Id: I1e768d23da6adb1a3fe351a8105286b0cb5b5192
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsPageSelector.cxx')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsPageSelector.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
index bf35f39e54a8..639369daf677 100644
--- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
@@ -353,7 +353,7 @@ void PageSelector::UpdateLock::Release()
if (mpSelector != nullptr)
{
--mpSelector->mnUpdateLockCount;
- OSL_ASSERT(mpSelector->mnUpdateLockCount >= 0);
+ assert(mpSelector->mnUpdateLockCount >= 0);
if (mpSelector->mnUpdateLockCount == 0)
mpSelector->UpdateCurrentPage(true);