diff options
author | Tünde Tóth <toth.tunde@nisz.hu> | 2022-02-03 15:13:33 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2022-02-28 14:15:22 +0100 |
commit | 259a8e59107bb0a3d4f4f4bb7e056ce1e4231da2 (patch) | |
tree | 8190dceb73db2ae9998b1d5a8e8eb6b4196157c9 /oox | |
parent | ebf4ba6d4a59b1947a1e5a94c7405693a0960ffa (diff) |
tdf#128596 PPTX import: fix default tiled bitmap fill
OOXML bitmap fill element a:blipFill has got default tiled
area setting without explicit a:tile in MSO. Previous import
of bitmap fill as "BitmapMode_NO_REPEAT" instead of
BitmapMode_REPEAT resulted missing or incomplete area fill
of shapes and other objects.
Change-Id: Idf94f4450980f67172a0126784b3e08cc5c178c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129483
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/fillproperties.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx index 2b682bcd1b99..49906cc9b10f 100644 --- a/oox/source/drawingml/fillproperties.cxx +++ b/oox/source/drawingml/fillproperties.cxx @@ -221,7 +221,9 @@ BitmapMode lclGetBitmapMode( sal_Int32 nToken ) case XML_tile: return BitmapMode_REPEAT; case XML_stretch: return BitmapMode_STRETCH; } - return BitmapMode_NO_REPEAT; + + // tdf#128596 Default value is XML_tile for MSO. + return BitmapMode_REPEAT; } RectanglePoint lclGetRectanglePoint( sal_Int32 nToken ) |