[Libreoffice-commits] .: sw/source
Miklos Vajna
vmiklos at kemper.freedesktop.org
Fri Oct 22 08:31:48 PDT 2010
sw/source/filter/ww8/rtfexport.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit a8e76355d980ee015162023150ae48d68fbb4124
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Thu Oct 21 14:37:56 2010 +0200
#i114366# fix tables in page styles
Done at openSUSE Conference 2010
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index 79606d9..37735dc 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()
More information about the Libreoffice-commits
mailing list