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
committerXisco Fauli <xiscofauli@libreoffice.org>2020-09-01 18:01:59 +0200
commite479eb8048aecb8b7309b02b83234592660f6417 (patch)
tree00903702fc1d07d06dd2e772a097e617604e49dc /oox
parent8faf8f173fe75bfa27b615db0ea177941a775724 (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> Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101750
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 bf7d0dcfe7a2..1c12c10eda47 100644
--- a/oox/source/drawingml/table/tableproperties.cxx
+++ b/oox/source/drawingml/table/tableproperties.cxx
@@ -145,7 +145,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++)