writerfilter/source/dmapper/DomainMapper_Impl.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit f2a1298ea409141a9190c7789b39546644084980 Author: Mike Kaganski <mike.kagan...@collabora.com> Date: Mon Jul 10 12:00:13 2017 +0200 DomainMapper_Impl: remove redundant check Change-Id: I09d5ec303e08e1a49c55dd91ccfdad9d6f07e04b Reviewed-on: https://gerrit.libreoffice.org/39747 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 584368f5199f..9dfa48f1d657 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -1071,9 +1071,7 @@ void DomainMapper_Impl::finishParagraph( const PropertyMapPtr& pPropertyMap ) if (m_aTextAppendStack.empty()) return; TextAppendContext& rAppendContext = m_aTextAppendStack.top(); - uno::Reference< text::XTextAppend > xTextAppend; - if (!m_aTextAppendStack.empty()) - xTextAppend = rAppendContext.xTextAppend; + uno::Reference< text::XTextAppend > xTextAppend(rAppendContext.xTextAppend); #ifdef DEBUG_WRITERFILTER TagLogger::getInstance().attribute("isTextAppend", sal_uInt32(xTextAppend.is())); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits