diff options
-rw-r--r-- | svx/source/form/fmshimp.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index d54c5acaebde..890394856688 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -3372,7 +3372,7 @@ void FmXFormShell::CreateExternalView_Lock() // list source MapUString2UstringSeq::const_iterator aCurrentListSource = aRadioListSources.find(rCtrlSource.first); - DBG_ASSERT(aCurrentListSource != aRadioListSources.end(), + assert(aCurrentListSource != aRadioListSources.end() && "FmXFormShell::CreateExternalView : inconsistent radio descriptions !"); pListBoxDescription->Name = FM_PROP_LISTSOURCE; pListBoxDescription->Value <<= (*aCurrentListSource).second; diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 0f048c4e805d..8ca5e35d1c84 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -2746,8 +2746,8 @@ void SwTabFramePainter::FindStylesForLine( Point& rStartPoint, } aMapIter = maHoriLines.find( rStartPoint.Y() ); - OSL_ENSURE( aMapIter != maHoriLines.end(), "FindStylesForLine: Error" ); - const SwLineEntrySet& rHoriSet = (*aMapIter).second; + assert(aMapIter != maHoriLines.end() && "FindStylesForLine: Error"); + const SwLineEntrySet& rHoriSet = aMapIter->second; for ( const SwLineEntry& rEntry : rHoriSet ) { |