oox/source/drawingml/shape.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 42dcb90ed2fa5d5cb8fb413946ac22eec1890be4
Author:     Gülşah Köse <[email protected]>
AuthorDate: Fri Dec 12 16:32:33 2025 +0300
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Sat Dec 27 08:30:53 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]>
    (cherry picked from commit 92b0bcb3136a77de97415b900a0e9b4a271715ae)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195672
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <[email protected]>
    (cherry picked from commit 7ab8ed87dca177f22b162df5dfbba3052b82596d)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195768

diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 4cb0160facee..63c77a2080f6 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -1595,7 +1595,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,

Reply via email to