diff options
author | Tibor Nagy <nagy.tibor2@nisz.hu> | 2021-08-30 12:26:39 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2021-08-31 14:57:57 +0200 |
commit | e5cfda76aefd6996813f461198816be24cd6ad43 (patch) | |
tree | 4d55d75640864cde8e91e1110693e5e6d37cdc0c /oox | |
parent | e822d5590e48a1100717b5d0ae2b6d72f4f936da (diff) |
tdf#142645 PPTX import: convert "ctrTitle" text to slide name
(i.e. centered title) similar to <p:ph type="title"/>.
See commit 7eb0e52527e729a21973e70d5be8e0a6779ec748
"tdf#142648 PPTX: import long slide names to avoid broken link export",
commit 253bee65bc24d999c3629a4d503d0fa01b355cfc
"tdf#142646 PPTX import: count repeating slide names" etc.
Change-Id: I5f25f04f23981ce2ff64dc792fe8464682d749a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121295
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ppt/pptshape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ppt/pptshape.cxx b/oox/source/ppt/pptshape.cxx index 7e120b8ec36e..80f165d6f085 100644 --- a/oox/source/ppt/pptshape.cxx +++ b/oox/source/ppt/pptshape.cxx @@ -426,7 +426,7 @@ void PPTShape::addShape( Reference< XShape > xShape( createAndInsert( rFilterBase, sServiceName, pTheme, rxShapes, bClearText, bool(mpPlaceholder), aTransformation, getFillProperties() ) ); // if exists and not duplicated, try to use the title text as slide name to help its re-use on UI - if (!rSlidePersist.isMasterPage() && rSlidePersist.getPage().is() && mnSubType == XML_title) + if (!rSlidePersist.isMasterPage() && rSlidePersist.getPage().is() && (mnSubType == XML_title || mnSubType == XML_ctrTitle)) { try { |