Hello,
I originally posted this bug here:
https://bugs.freedesktop.org/show_bug.cgi?id=33462
In versions later than OO v3.2.1, importing a docx file that contained a
table with a fixed-height row somewhere caused all other rows in any tables
to adopt this height making the document hard to use.
I found a fix. I'd like to point that this tiny fix makes docx documents
much more usable in LO. According to Noel Power it should be put into
release v3.4.
As I'm not really used to send patches over mailing lists so far, I hope you
can use this kind of format. Feel free to use it under the LGPL v3+ and to
check it in. :)
---
diff --git a/writerfilter/inc/resourcemodel/TableManager.hxx
b/writerfilter/inc/resourcemodel/TableManager.hxx
index 7579ff6..6ea3da5 100644
--- a/writerfilter/inc/resourcemodel/TableManager.hxx
+++ b/writerfilter/inc/resourcemodel/TableManager.hxx
@@ -221,7 +221,7 @@ class TableManager
void resetRowProps()
{
- mpCellProps.reset();
+ mpRowProps.reset();
}
void setRowProps(PropertiesPointer pProps)
Context
- [Libreoffice] [PATCH] corrupted tables in docx import · Marcel HB
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.