diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2018-11-08 09:25:18 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-11-18 05:24:55 +0100 |
commit | dddcfa0089bc84965d7a2c94f5f738a325cfae78 (patch) | |
tree | 28909b95b3fa1c64270259b4897668eb5b7a82fb /oox/source/drawingml/chart | |
parent | 1baf55c0ab7cc003225fd9adcaf702a511db575a (diff) |
tdf#94231 OOXML Import: Fix disappeared Hatch Background Color
With adding the PROP_FillBackground property to spnCommonPropIds and
spnFilledPropIds the hatch background color imported correctly,
an will not disappear.
Change-Id: I56745179236d2912a2d5c8585098e54acc4e3062
Reviewed-on: https://gerrit.libreoffice.org/63069
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'oox/source/drawingml/chart')
-rw-r--r-- | oox/source/drawingml/chart/objectformatter.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/oox/source/drawingml/chart/objectformatter.cxx b/oox/source/drawingml/chart/objectformatter.cxx index a513fdb435a5..184cb111f02f 100644 --- a/oox/source/drawingml/chart/objectformatter.cxx +++ b/oox/source/drawingml/chart/objectformatter.cxx @@ -450,7 +450,7 @@ static const ShapePropertyIds spnCommonPropIds = PROP_FillStyle, PROP_FillColor, PROP_FillTransparence, PROP_INVALID, PROP_FillGradientName, PROP_FillBitmapName, PROP_FillBitmapMode, PROP_FillBitmapSizeX, PROP_FillBitmapSizeY, PROP_FillBitmapPositionOffsetX, PROP_FillBitmapPositionOffsetY, PROP_FillBitmapRectanglePoint, - PROP_FillHatchName + PROP_FillHatchName, PROP_FillBackground }; static const ShapePropertyIds spnLinearPropIds = @@ -460,7 +460,7 @@ static const ShapePropertyIds spnLinearPropIds = PROP_INVALID, PROP_INVALID, PROP_INVALID, PROP_INVALID, PROP_INVALID, PROP_INVALID, PROP_INVALID, PROP_INVALID, PROP_INVALID, PROP_INVALID, PROP_INVALID, PROP_INVALID, - PROP_INVALID + PROP_INVALID, PROP_INVALID }; static const ShapePropertyIds spnFilledPropIds = @@ -489,7 +489,8 @@ static const ShapePropertyIds spnFilledPropIds = PROP_FillBitmapPositionOffsetX, PROP_FillBitmapPositionOffsetY, PROP_FillBitmapRectanglePoint, - PROP_HatchName + PROP_HatchName, + PROP_FillBackground }; /** Property info for common chart objects, to be used in ShapePropertyMap. */ |