diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-29 14:44:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-29 14:45:22 +0200 |
commit | 8b12c98ec7ec0b5ba20c28890ee63803fb9518d5 (patch) | |
tree | 55a9fb3a31dc0faf4323e48ba843a043296b1df1 | |
parent | 141d4427d2d2db6a16133fcf7571798233a99cb0 (diff) |
remove some SAL_WARN in DomainMapper_Impl
it's obviously not a real problem, because higher up code calls this
even if it doesn't intend to use the result, and in the places where it
does intend to use the result, it warns again, so this warning is
redundant.
And it's the 3rd largest number of warnings in our logs.
Change-Id: I1a6c40bc99a3252594f87e121a81c661686c5348
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 3f07f324a461..a6223b741061 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -575,8 +575,6 @@ void DomainMapper_Impl::PopProperties(ContextType eId) PropertyMapPtr DomainMapper_Impl::GetTopContextOfType(ContextType eId) { PropertyMapPtr pRet; - SAL_WARN_IF( m_aPropertyStacks[eId].empty(), "writerfilter.dmapper", - "no context of type " << static_cast<int>(eId) << " available"); if(!m_aPropertyStacks[eId].empty()) pRet = m_aPropertyStacks[eId].top(); return pRet; @@ -5365,7 +5363,6 @@ SectionPropertyMap * DomainMapper_Impl::GetSectionContext() if( !IsAnyTableImport() ) { PropertyMapPtr pContext = GetTopContextOfType(CONTEXT_SECTION); - OSL_ENSURE(pContext.get(), "Section context is not in the stack!"); pSectionContext = dynamic_cast< SectionPropertyMap* >( pContext.get() ); } |