summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2017-01-05 20:27:42 +0300
committerJustin Luth <justin_luth@sil.org>2017-01-06 03:59:28 +0000
commitba2c31da9723182d2087e27a1ea0f95d9617f343 (patch)
treef5a7b0968761b021eed18964c3a32f5696aca00a /sw
parentb052cfcfd6453696d036526446e35bd26952edc0 (diff)
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 <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index 627b3e1e5cd6..f12d5c7a3dfc 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;