summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sdr/properties/captionproperties.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/sdr/properties/captionproperties.cxx b/svx/source/sdr/properties/captionproperties.cxx
index 2f7a2c8a7f89..48106d18ef9d 100644
--- a/svx/source/sdr/properties/captionproperties.cxx
+++ b/svx/source/sdr/properties/captionproperties.cxx
@@ -94,6 +94,11 @@ namespace sdr::properties
// this was set by TextProperties::ForceDefaultAttributes(),
// reset to default
+ if (static_cast<SdrCaptionObj&>(GetSdrObject()).GetSpecialTextBoxShadow())
+ {
+ mxItemSet->ClearItem(XATTR_FILLCOLOR);
+ mxItemSet->ClearItem(XATTR_FILLSTYLE);
+ }
mxItemSet->ClearItem(XATTR_LINESTYLE);
}
} // end of namespace