diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 14:46:42 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 14:46:42 +1000 |
commit | d0a99cc2ed76be220f7e868e332ba19f6e48a440 (patch) | |
tree | 56addcedd12a0a4f16471e55c46a7835857d5555 /sd/source/ui/slidesorter/model/SlideSorterModel.cxx | |
parent | 3965f4cb28676133dc37a926e56b4d612e2a57ba (diff) |
tdf#43157: convert sd module away from OSL_ASSERT to assert
Change-Id: I1e768d23da6adb1a3fe351a8105286b0cb5b5192
Diffstat (limited to 'sd/source/ui/slidesorter/model/SlideSorterModel.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/model/SlideSorterModel.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx index 0416857d716a..cf51887bc5c5 100644 --- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx +++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx @@ -78,19 +78,19 @@ namespace { if ( ! pDescriptor) { PrintModel(rModel); - OSL_ASSERT(pDescriptor); + assert(pDescriptor); return false; } if (nIndex != pDescriptor->GetPageIndex()) { PrintModel(rModel); - OSL_ASSERT(nIndex == pDescriptor->GetPageIndex()); + assert(nIndex == pDescriptor->GetPageIndex()); return false; } if (nIndex != pDescriptor->GetVisualState().mnPageId) { PrintModel(rModel); - OSL_ASSERT(nIndex == pDescriptor->GetVisualState().mnPageId); + assert(nIndex == pDescriptor->GetVisualState().mnPageId); return false; } } @@ -462,7 +462,7 @@ void SlideSorterModel::UpdatePageList() default: // We should never get here. - OSL_ASSERT(false); + assert(false); break; } } @@ -618,7 +618,7 @@ void SlideSorterModel::UpdateIndices (const sal_Int32 nFirstIndex) { if (rpDescriptor->GetPageIndex()!=nDescriptorIndex) { - OSL_ASSERT(rpDescriptor->GetPageIndex()==nDescriptorIndex); + assert(rpDescriptor->GetPageIndex()==nDescriptorIndex); } } else |