From 23b0abf476a86e5b8c33045f9f24d09ccb170d95 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 21 Oct 2010 14:37:56 +0200 Subject: [PATCH] #i114366# fix tables in page styles Done at openSUSE Conference 2010 --- sw/source/filter/ww8/rtfexport.cxx | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx index b1aed21..6976fc4 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -454,6 +454,10 @@ void RtfExport::WritePageDescTable() } Strm() << '}' << sNewLine; bOutPageDescs = FALSE; + + // reset table infos, otherwise the depth of the cells will be incorrect, + // in case the page style (header or footer) had tables + mpTableInfo = ww8::WW8TableInfo::Pointer_t(new ww8::WW8TableInfo()); } void RtfExport::ExportDocument_Impl() -- 1.7.3.1