summaryrefslogtreecommitdiff
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-20 13:49:11 +0200
commitd6dda0acb8bb6ca0fba607e1d566fca960b78cf8 (patch)
tree9f9edc24be4085b8f90a89818afa9c70d9255c2b
parent67ac2e8adc708480aa4e28a81cec464938e43c86 (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/58843 Reviewed-by: Andras Timar <andras.timar@collabora.com>
-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 8c4b2daaaff0..1e134babf2c7 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -1011,7 +1011,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 );