sw/source/filter/ww8/wrtw8nds.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ba2c31da9723182d2087e27a1ea0f95d9617f343 Author: Justin Luth <[email protected]> Date: Thu Jan 5 20:27:42 2017 +0300 tdf104061 - looking for test documents This fixes the specific test document here, but likely there need to be other qualifiers such as "if the table is the first node in the section". Likely this commit will be reverted. We will use Milos' document tester to hunt for the side-effects of this patch - which should give us a good set of test documents. Change-Id: I7d3a2168556c82bc4758ad665da319d55df4ba2b Reviewed-on: https://gerrit.libreoffice.org/32759 Reviewed-by: Justin Luth <[email protected]> Tested-by: Justin Luth <[email protected]> diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 627b3e1..f12d5c7 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -2899,7 +2899,7 @@ void MSWordExportBase::OutputSectionNode( const SwSectionNode& rSectionNode ) if ( pSet && NoPageBreakSection( pSet ) ) pSet = nullptr; - if ( !pSet ) + if ( !pSet || rNd.IsTableNode() ) { // new Section with no own PageDesc/-Break // -> write follow section break; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
