diff options
Diffstat (limited to 'sd/source/ui/dlg')
-rw-r--r-- | sd/source/ui/dlg/dlgolbul.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/dlgsnap.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/sdtreelb.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/tpoption.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/dlgolbul.cxx b/sd/source/ui/dlg/dlgolbul.cxx index ac1d4f7b4099..7207ba5bc6e9 100644 --- a/sd/source/ui/dlg/dlgolbul.cxx +++ b/sd/source/ui/dlg/dlgolbul.cxx @@ -96,7 +96,7 @@ OutlineBulletDlg::OutlineBulletDlg(weld::Window* pParent, const SfxItemSet* pAtt if( pItem == nullptr ) pItem = m_aInputSet.GetPool()->GetSecondaryPool()->GetUserDefaultItem(EE_PARA_NUMBULLET); - DBG_ASSERT( pItem, "No EE_PARA_NUMBULLET in Pool! [CL]" ); + assert(pItem && "No EE_PARA_NUMBULLET in Pool! [CL]"); m_aInputSet.Put(pItem->CloneSetWhich(EE_PARA_NUMBULLET)); } diff --git a/sd/source/ui/dlg/dlgsnap.cxx b/sd/source/ui/dlg/dlgsnap.cxx index 9f16a5fa5394..c2d752850aec 100644 --- a/sd/source/ui/dlg/dlgsnap.cxx +++ b/sd/source/ui/dlg/dlgsnap.cxx @@ -61,7 +61,7 @@ SdSnapLineDlg::SdSnapLineDlg(weld::Window* pWindow, const SfxItemSet& rInAttrs, // determine PoolUnit SfxItemPool* pPool = rInAttrs.GetPool(); - DBG_ASSERT( pPool, "Where's the Pool?" ); + assert(pPool && "Where's the Pool?"); MapUnit ePoolUnit = pPool->GetMetric( SID_ATTR_FILL_HATCH ); // #i48497# Consider page origin diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index 9883ad847ae0..b1928e52d764 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -1219,7 +1219,7 @@ void SdPageObjsTLV::AddShapeList ( while( aIter.IsMore() ) { SdrObject* pObj = aIter.Next(); - OSL_ASSERT(pObj!=nullptr); + assert(pObj!=nullptr); // Get the shape name. OUString aStr (GetObjectName( pObj ) ); diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx index 39f04d15a915..fb16a14bebaf 100644 --- a/sd/source/ui/dlg/tpoption.cxx +++ b/sd/source/ui/dlg/tpoption.cxx @@ -382,7 +382,7 @@ SdTpOptionsMisc::SdTpOptionsMisc(weld::Container* pPage, weld::DialogController* // determine PoolUnit SfxItemPool* pPool = rInAttrs.GetPool(); - DBG_ASSERT( pPool, "Where is the Pool?" ); + assert(pPool && "Where is the Pool?"); ePoolUnit = pPool->GetMetric( SID_ATTR_FILL_HATCH ); // Fill the CB |