summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/Outliner.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/Outliner.cxx')
-rw-r--r--sd/source/ui/view/Outliner.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 33c289a2c391..0cd8df02d24e 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -476,7 +476,7 @@ bool SdOutliner::StartSearchAndReplace (const SvxSearchItem* pSearchItem)
std::shared_ptr<sd::ViewShell> pViewShell (mpWeakViewShell.lock());
if ( ! pViewShell)
{
- assert(pViewShell);
+ OSL_ASSERT(pViewShell);
return true;
}
@@ -539,7 +539,7 @@ void SdOutliner::Initialize (bool bDirectionIsForward)
std::shared_ptr<sd::ViewShell> pViewShell (mpWeakViewShell.lock());
if ( ! pViewShell)
{
- assert(pViewShell);
+ OSL_ASSERT(pViewShell);
return;
}
@@ -604,7 +604,7 @@ bool SdOutliner::SearchAndReplaceAll()
std::shared_ptr<sd::ViewShell> pViewShell (mpWeakViewShell.lock());
if ( ! pViewShell)
{
- assert(pViewShell);
+ OSL_ASSERT(pViewShell);
return true;
}
@@ -945,7 +945,7 @@ void SdOutliner::RememberStartPosition()
std::shared_ptr<sd::ViewShell> pViewShell (mpWeakViewShell.lock());
if ( ! pViewShell)
{
- assert(pViewShell);
+ OSL_ASSERT(pViewShell);
return;
}
@@ -1128,7 +1128,7 @@ void SdOutliner::EndOfSearch()
std::shared_ptr<sd::ViewShell> pViewShell (mpWeakViewShell.lock());
if ( ! pViewShell)
{
- assert(pViewShell);
+ OSL_ASSERT(pViewShell);
return;
}
@@ -1379,7 +1379,7 @@ void SdOutliner::SetViewMode (PageKind ePageKind)
// Save edit mode so that it can be restored when switching the view
// shell again.
pDrawViewShell = std::dynamic_pointer_cast<sd::DrawViewShell>(pViewShell);
- assert(pDrawViewShell.get()!=nullptr);
+ OSL_ASSERT(pDrawViewShell.get()!=nullptr);
if (pDrawViewShell.get() != nullptr)
mpImpl->meOriginalEditMode = pDrawViewShell->GetEditMode();
}
@@ -1392,7 +1392,7 @@ void SdOutliner::SetPage (EditMode eEditMode, sal_uInt16 nPageIndex)
std::shared_ptr<sd::ViewShell> pViewShell (mpWeakViewShell.lock());
std::shared_ptr<sd::DrawViewShell> pDrawViewShell(
std::dynamic_pointer_cast<sd::DrawViewShell>(pViewShell));
- assert(pDrawViewShell.get()!=nullptr);
+ OSL_ASSERT(pDrawViewShell.get()!=nullptr);
if (pDrawViewShell.get() != nullptr)
{
pDrawViewShell->ChangeEditMode(eEditMode, false);