diff options
author | Gülşah Köse <gulsah.kose@collabora.com> | 2020-07-23 13:45:51 +0300 |
---|---|---|
committer | Gülşah Köse <gulsah.kose@collabora.com> | 2020-07-24 09:47:05 +0200 |
commit | c50ae6a282ed83762bf634fed5c91033eb305c88 (patch) | |
tree | 69901fbdb22ff1248673e73ceb6e4e31fe51d4ea /oox/source/ppt/pptimport.cxx | |
parent | 785312dc11a78f72784c04a2e8e3183162a1e28b (diff) |
tdf#133015 Fix duplicated row and column problem.
LibreOffice imports multicolumn texboxes as tables. When
document has numCols=2 (or more) attribute at slidelayout and slide,
the table rows and columns duplicates.
maPPTShapes vector holds our PPTShape objects, hasSameSubTypeIndex
function finds the status that I mention above. So that we can prevent
that duplication.
Change-Id: Iee03d130452a16e9b46d471a9b6ed5910e6351ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99279
Tested-by: Jenkins
Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
Diffstat (limited to 'oox/source/ppt/pptimport.cxx')
-rw-r--r-- | oox/source/ppt/pptimport.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/source/ppt/pptimport.cxx b/oox/source/ppt/pptimport.cxx index dea04a98e9a3..f7d00920705e 100644 --- a/oox/source/ppt/pptimport.cxx +++ b/oox/source/ppt/pptimport.cxx @@ -70,6 +70,7 @@ PowerPointImport::PowerPointImport( const Reference< XComponentContext >& rxCont PowerPointImport::~PowerPointImport() { + maPPTShapes.clear(); } /// Visits the relations from pRelations which are of type rType. |