View | Details | Raw Unified | Return to issue 108047
Collapse All | Expand All

(-)a/writerfilter/source/dmapper/DomainMapper_Impl.cxx (+12 lines)
Lines 2578-2583 Link Here
2578
  -----------------------------------------------------------------------*/
2578
  -----------------------------------------------------------------------*/
2579
void DomainMapper_Impl::CloseFieldCommand()
2579
void DomainMapper_Impl::CloseFieldCommand()
2580
{
2580
{
2581
    OSL_ENSURE(!m_aFieldStack.empty(), "no field to close");
2582
    if (m_aFieldStack.empty())
2583
    {
2584
        return;
2585
    }
2586
2581
    FieldContextPtr pContext = m_aFieldStack.top();
2587
    FieldContextPtr pContext = m_aFieldStack.top();
2582
    OSL_ENSURE( pContext.get(), "no field context available");
2588
    OSL_ENSURE( pContext.get(), "no field context available");
2583
    if( pContext.get() )
2589
    if( pContext.get() )
Lines 3365-3370 Link Here
3365
  -----------------------------------------------------------------------*/
3371
  -----------------------------------------------------------------------*/
3366
void DomainMapper_Impl::PopFieldContext()
3372
void DomainMapper_Impl::PopFieldContext()
3367
{
3373
{
3374
    OSL_ENSURE(!m_aFieldStack.empty(), "no field to pop");
3375
    if (m_aFieldStack.empty())
3376
    {
3377
        return;
3378
    }
3379
3368
    FieldContextPtr pContext = m_aFieldStack.top();
3380
    FieldContextPtr pContext = m_aFieldStack.top();
3369
    OSL_ENSURE( pContext.get(), "no field context available");
3381
    OSL_ENSURE( pContext.get(), "no field context available");
3370
    if( pContext.get() )
3382
    if( pContext.get() )

Return to issue 108047