From 097a2de6428f834d28fa78af203d3c0b6577656e Mon Sep 17 00:00:00 2001 From: Tibor Nagy Date: Sun, 16 Oct 2022 09:32:33 +0200 Subject: tdf#151492 PPTX export: fix connection points regression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: László Németh --- oox/source/export/shapes.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'oox') 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, sal_Int32& uno::Reference xSupplier(xShape, uno::UNO_QUERY); uno::Reference xGluePoints(xSupplier->getGluePoints(), uno::UNO_QUERY); - sal_uInt32 nCount = xGluePoints->getIdentifiers().size(); - if (nCount > 4) + if (nGluePointId > 3) nGluePointId -= 4; else { -- cgit