summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2022-04-15 15:04:16 +0200
committerRegina Henschel <rb.henschel@t-online.de>2022-04-15 22:16:40 +0200
commitb195cf4db4c21da3cf754689fb22f0b6a904a03e (patch)
treee7ca06802865f919fadcebdde4d31ac530e9775e /oox
parent65e846d73c023cb8ed8a8393a91032d4a816f2a0 (diff)
tdf#109169 use custGeom for Octagon Bevel shape
The shapes 'Octagon Bevel', type col_60da8460, and 'Diamond Bevel', type col-502ad400, are LO specific preset shapes. They have neither a counterpart in MS binary nor in OOXML. So they need to be exported with custGeom. To force custGeom these shape types are moved from vDenylist to vAllowlist. These shapes were exported as prst='rect' before. Change-Id: I9619345812b6dba8f14ec2cc6a92ae808a56b595 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133069 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/shapes.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index e4d378bd6111..3308d5ab4492 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -551,8 +551,6 @@ static bool lcl_IsOnDenylist(OUString const & rShapeType)
u"flower",
u"bracket-pair",
u"brace-pair",
- u"col-60da8460",
- u"col-502ad400",
u"quad-bevel",
u"round-rectangular-callout",
u"rectangular-callout",
@@ -605,7 +603,9 @@ static bool lcl_IsOnAllowlist(OUString const & rShapeType)
{
static const std::initializer_list<std::u16string_view> vAllowlist = {
u"heart",
- u"puzzle"
+ u"puzzle",
+ u"col-60da8460",
+ u"col-502ad400"
};
return std::find(vAllowlist.begin(), vAllowlist.end(), rShapeType) != vAllowlist.end();