summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-07-15 17:41:36 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-07-15 17:59:29 +0200
commitba8988a59716acc405ce5e5233e3f472e0066cbc (patch)
treebcac1eac4f160f755fdf04f6a91016a2850b8de0 /oox
parent114edb760079ca6ad0791db30c75394cf6f634e9 (diff)
explicitly export no fill to .docx when fillstyle is set to none (bnc#581614)
The shapes have detectmouseclick="t" for some reason, leading to the v:fill tag being written, but the default is solid fill, so if there's otherwise actually no fill, explicitly say so. Change-Id: I2a8d24ce4d0da1082b4eefbad0db51e2e6fe1bc9
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/vmlexport.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx
index 5381d2fa6b36..56351583fec5 100644
--- a/oox/source/export/vmlexport.cxx
+++ b/oox/source/export/vmlexport.cxx
@@ -545,6 +545,8 @@ void VMLExport::Commit( EscherPropertyContainer& rProps, const Rectangle& rRect
if ( pFillType )
pAttrList->add( XML_type, pFillType );
}
+ else
+ pAttrList->add( XML_on, "false" );
if ( rProps.GetOpt( ESCHER_Prop_fillColor, nValue ) )
impl_AddColor( m_pShapeAttrList, XML_fillcolor, nValue );