summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorayhanyalcinsoy <ayhanyalcinsoy@pisilinux.org>2020-01-04 09:50:28 +0300
committerRegina Henschel <rb.henschel@t-online.de>2020-01-25 11:43:56 +0100
commit451eab287acd88abc19c97bd99e50cbfa4480bb4 (patch)
tree19c9a1ffa31abe35f32f32f46c4e1244be9d4caa /oox
parent6ffaefa1694f71175bb499cd5ee5886b23874e90 (diff)
tdf#128049:FILESAVE PPTX Improve export of shape 'forbidden'
Change-Id: I68e0364acd62962785c1e2dc0ee6a1791cf7bc9f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86154 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/shapes.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 5dedd509d2ff..be650130f2b1 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -562,6 +562,7 @@ static bool lcl_IsOnBlacklist(OUString const & rShapeType)
"cube",
"paper",
"frame",
+ "forbidden",
"smiley",
"sun",
"flower",
@@ -620,7 +621,6 @@ static bool lcl_IsOnBlacklist(OUString const & rShapeType)
static bool lcl_IsOnWhitelist(OUString const & rShapeType)
{
static const std::initializer_list<OUStringLiteral> vWhitelist = {
- "forbidden",
"heart",
"puzzle"
};
@@ -985,6 +985,7 @@ ShapeExport& ShapeExport::WriteCustomShape( const Reference< XShape >& xShape )
case mso_sptDonut:
case mso_sptSun:
case mso_sptMoon:
+ case mso_sptNoSmoking:
case mso_sptHorizontalScroll:
case mso_sptBevel:
case mso_sptBracketPair: