oox/source/drawingml/shape.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 92b0bcb3136a77de97415b900a0e9b4a271715ae Author: Gülşah Köse <[email protected]> AuthorDate: Fri Dec 12 16:32:33 2025 +0300 Commit: Caolán McNamara <[email protected]> CommitDate: Mon Dec 15 10:12:16 2025 +0100 tdf#169456 Fix the placeholder of master slide style issue In some cases we see the object in the slide has no fill syle directly but parent object in master slide can has fill style. We should apply the style to object in this case. Signed-off-by: Gülşah Köse <[email protected]> Change-Id: I0b061cfde4ac2067c84383764770f155564531a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195368 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index afc9f603dfe6..59f86ec73732 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -1642,7 +1642,8 @@ Reference< XShape > const & Shape::createAndInsert( } FillProperties aFillProperties = getActualFillProperties(pTheme, &rShapeOrParentShapeFillProps); - if (getFillProperties().moFillType.has_value() && getFillProperties().moFillType.value() == XML_grpFill) + if ((getFillProperties().moFillType.has_value() && getFillProperties().moFillType.value() == XML_grpFill) || + aFillProperties.maFillColor.isPlaceHolder() ) getFillProperties().assignUsed(aFillProperties); if(!bIsCroppedGraphic && !bIs3DGraphic) aFillProperties.pushToPropMap(aShapeProps, rGraphicHelper, mnRotation, nFillPhClr,
