diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2010-10-21 14:37:56 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2010-10-22 17:29:58 +0200 |
commit | a8e76355d980ee015162023150ae48d68fbb4124 (patch) | |
tree | b892e0d7d64804579dc8fa4bf85e1aa332303257 | |
parent | be0464f721b5b4b75fdfa1cbf2f74cf35bff07db (diff) |
#i114366# fix tables in page styles
Done at openSUSE Conference 2010
-rw-r--r-- | 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 79606d961d..37735dca16 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -460,6 +460,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() |