summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorRMZeroFour <ritobroto04@gmail.com>2024-03-26 21:41:59 +0530
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2024-04-08 09:54:55 +0200
commitafb18ac0628c54fdffc1ee5b55db6110c20872cd (patch)
treee7a54d2f03e2c7a088cf6f4f92f1a1034b6f388f /oox
parentf1697d2b1e6b3ac63946070cc720234dc68efbe9 (diff)
tdf#50998 tdf#87892 Add sinusoid shape
In response to #50998 (as well as #87892 indirectly), regarding adding sinusoidal and coil-like shapes to the shape gallery in LibreOffice, this commit adds a sinusoid shape to the gallery. The shape is still incomplete for release, at least lacking icons for the sidebar. Further details posted on the Bugzilla thread for issue #50998. PS-2: Removed the previously added flag shape. PS-4: Moved sinusoid to the end in a new subgroup. Change-Id: Ie0f6e3948b6dce98dc2b4f87289cfd37f2d16911 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165353 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/shapes.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 4151c61798f2..25f4aa83a65b 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -621,12 +621,13 @@ constexpr frozen::set<std::u16string_view, 57> constDenySet(
u"flowchart-display"
});
-constexpr frozen::set<std::u16string_view, 4> constAllowSet(
+constexpr frozen::set<std::u16string_view, 5> constAllowSet(
{
u"heart",
u"puzzle",
u"col-60da8460",
- u"col-502ad400"
+ u"col-502ad400",
+ u"sinusoid"
});
} // end anonymous namespace