summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorTibor Nagy <nagy.tibor2@nisz.hu>2022-10-16 09:32:33 +0200
committerLászló Németh <nemeth@numbertext.org>2022-10-27 18:17:26 +0200
commit097a2de6428f834d28fa78af203d3c0b6577656e (patch)
tree1083f612599c284d9758ede7fa498e8850fe20a5 /oox
parent6eea95aac86c0e56043222af2b34c80f9aca8b3c (diff)
tdf#151492 PPTX export: fix connection points regression
caused by commit 4d153517183193f468dee9148c94fe9d874bacb3 (tdf#149697 PPTX export: fix changing place of connection points). Change-Id: I6134f18f3c32182a2f5d7295e2511da192dd20c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141427 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/export/shapes.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index c7b5699993f4..d102880af7bd 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -1643,8 +1643,7 @@ static sal_Int32 lcl_GetGluePointId(const Reference<XShape>& xShape, sal_Int32&
uno::Reference<drawing::XGluePointsSupplier> xSupplier(xShape, uno::UNO_QUERY);
uno::Reference<container::XIdentifierAccess> xGluePoints(xSupplier->getGluePoints(),
uno::UNO_QUERY);
- sal_uInt32 nCount = xGluePoints->getIdentifiers().size();
- if (nCount > 4)
+ if (nGluePointId > 3)
nGluePointId -= 4;
else
{