writerfilter/source/dmapper/GraphicImport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e042a83843ed2573dbce9338058b3dc545dd6898 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Tue Oct 15 21:44:42 2019 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Wed Oct 16 08:20:37 2019 +0200 writerfilter: sync layout-in-cell vs wrap-though behavior with ww8 import I removed the same check in the WW8 import in commit d630f69d90f15bc652a62648b05ea515de78d16a (Related: tdf#124601 DOC import: improve fLayoutInCell handling, 2019-09-26). There is no reason the DOCX import shouldn't do the same, just for consistency. Change-Id: I9e56a3fcd0b13ba08e347fbc06b0960ac21b372c Reviewed-on: https://gerrit.libreoffice.org/80856 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx index 131ff53d60a3..2e2ff9e4eec1 100644 --- a/writerfilter/source/dmapper/GraphicImport.cxx +++ b/writerfilter/source/dmapper/GraphicImport.cxx @@ -1323,7 +1323,7 @@ uno::Reference<text::XTextContent> GraphicImport::createGraphicObject(uno::Refer } xGraphicObjectProperties->setPropertyValue(getPropertyName( PROP_SURROUND ), uno::makeAny(static_cast<sal_Int32>(m_pImpl->nWrap))); - if( m_pImpl->rDomainMapper.IsInTable() && m_pImpl->bLayoutInCell && m_pImpl->nWrap != text::WrapTextMode_THROUGH ) + if( m_pImpl->rDomainMapper.IsInTable() && m_pImpl->bLayoutInCell ) xGraphicObjectProperties->setPropertyValue(getPropertyName( PROP_FOLLOW_TEXT_FLOW ), uno::makeAny(true)); if( m_pImpl->rDomainMapper.IsInTable() && m_pImpl->bLayoutInCell ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits