summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2018-08-10 11:46:59 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2018-08-10 16:58:02 +0200
commitb348f1a0d28708d801c0cb54536dd5798bd0ef68 (patch)
tree171769cacd47bc4d325792702a3ef32796b104a8 /oox
parente14ce86a8cf5d161b36890d03abd6aa6ed5bf490 (diff)
tdf#119160 remove fill from all fontwork shapes
Change-Id: I66cd5ab39c3f3b8635eb4e9b5261e100a8037abf Reviewed-on: https://gerrit.libreoffice.org/58817 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/shapes.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 80e0d65a9042..37f5d38aa3fe 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -1010,7 +1010,7 @@ ShapeExport& ShapeExport::WriteCustomShape( const Reference< XShape >& xShape )
if( rXPropSet.is() )
{
// Preset shape with text has no fill
- if( sShapeType.isEmpty() || !sShapeType.startsWith( "fontwork" ) )
+ if( m_presetWarp.isEmpty() || !m_presetWarp.startsWith( "text" ) || m_presetWarp == "textNoShape" )
WriteFill( rXPropSet );
WriteOutline( rXPropSet );
WriteShapeEffects( rXPropSet );