summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorGülşah Köse <gulsah.kose@collabora.com>2020-08-10 10:04:51 +0300
committerGülşah Köse <gulsah.kose@collabora.com>2020-08-16 23:43:29 +0200
commit95d258e747d1449c562ca4fe6eaf86363c6e5fcf (patch)
tree4fea651ac562eba8cac29b195f7fbfaddfea01f3 /oox
parente53b41b88e0468566451e90acddf72071549aaf4 (diff)
tdf#133015 Fix table position during import multicol textbox.
Change-Id: Ied1a03ff9f4556a551738b698ccb284fe74299da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100414 Tested-by: Jenkins Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100828 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/table/tableproperties.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/table/tableproperties.cxx b/oox/source/drawingml/table/tableproperties.cxx
index 431a198e7ef2..9e7b8d8e7f30 100644
--- a/oox/source/drawingml/table/tableproperties.cxx
+++ b/oox/source/drawingml/table/tableproperties.cxx
@@ -151,7 +151,7 @@ void TableProperties::pushToPropSet(const ::oox::core::XmlFilterBase& rFilterBas
for (auto& tableRow : mvTableRows)
{
sal_Int32 nColumn = 0;
- sal_Int32 nColumnSize = tableRow.getTableCells().size();
+ sal_Int32 nColumnSize = mvTableGrid.size();
sal_Int32 nRemovedColumn = 0; //
for (sal_Int32 nColIndex = 0; nColIndex < nColumnSize; nColIndex++)