summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/sdtreelb.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/dlg/sdtreelb.cxx
parent3965f4cb28676133dc37a926e56b4d612e2a57ba (diff)
tdf#43157: convert sd module away from OSL_ASSERT to assert
Change-Id: I1e768d23da6adb1a3fe351a8105286b0cb5b5192
Diffstat (limited to 'sd/source/ui/dlg/sdtreelb.cxx')
-rw-r--r--sd/source/ui/dlg/sdtreelb.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index 614592536d9a..0bba1914b561 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -604,7 +604,7 @@ void SdPageObjsTLB::AddShapeList (
while( aIter.IsMore() )
{
SdrObject* pObj = aIter.Next();
- OSL_ASSERT(pObj!=nullptr);
+ assert(pObj!=nullptr);
// Get the shape name.
OUString aStr (GetObjectName( pObj ) );
@@ -1189,13 +1189,13 @@ void SdPageObjsTLB::DoDrag()
::sd::ViewShell* pViewShell = GetViewShellForDocShell(*pDocShell);
if (pViewShell == nullptr)
{
- OSL_ASSERT(pViewShell!=nullptr);
+ assert(pViewShell!=nullptr);
return;
}
sd::View* pView = pViewShell->GetView();
if (pView == nullptr)
{
- OSL_ASSERT(pView!=nullptr);
+ assert(pView!=nullptr);
return;
}