diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-08 15:36:24 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-08 15:04:14 +0000 |
commit | c8f3cffb91d72e68827450a46b22eb7f852feadd (patch) | |
tree | 6ce4cd47e4e0d62ea7885953786229be142b7d11 /include | |
parent | e73fc92829bbb4c06c951006fc7577131564ed67 (diff) |
tdf#100269 svx: fix undo of table column resize
SdrTableObjImpl::LayoutTable() assumed no re-layout is needed in case
the total width of the table and the number of columns is the same, but
undo of resize is a situation where we also need to check the individual
widths of the columns, otherwise layout won't be up to date.
(cherry picked from commits a106165e7fd39215c4717e1486aef05f6af9180f and
9cea9137b2534da4056f72d3c8a07f85a02f85be)
Change-Id: Ia5ebb05af79dda1c0d8c5bb10e7f37f81ee1d035
Reviewed-on: https://gerrit.libreoffice.org/26071
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdotable.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx index 5747e2bf3dde..b0e0c5c16d4c 100644 --- a/include/svx/svdotable.hxx +++ b/include/svx/svdotable.hxx @@ -281,6 +281,8 @@ public: static void ExportAsRTF( SvStream& rStrm, SdrTableObj& rObj ); static void ImportAsRTF( SvStream& rStrm, SdrTableObj& rObj ); + virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const override; + private: void init( sal_Int32 nColumns, sal_Int32 nRows ); |