summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2018-08-10 11:46:59 +0200
committerAndras Timar <andras.timar@collabora.com>2018-08-10 21:44:43 +0200
commit7de6c2e7581b9c46847cea2ef3fa7ee7be4347bb (patch)
tree462bc84b8c02dc4b479b4e420f56be7f94b40678 /oox
parenteeb134bf08e615059d09f2b06826598cdfdb18ea (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> Reviewed-on: https://gerrit.libreoffice.org/58844 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@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 73a33ed385fd..7edbc896c9b3 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -1007,7 +1007,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 );