diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-05-14 19:51:11 +0200 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-05-16 14:11:22 +0200 |
commit | a5835285068c1b03171b7953c2fea185111f4da2 (patch) | |
tree | e47e2df6f67416a8ec9f6a856e747b8bc3698b22 /oox/source | |
parent | 5ad020235a8d4dd60752e781622c22f0187b4e45 (diff) |
oox: always save all kinds of 3d effects to the grab bag.
This was actually a bug. It didn't matter much because a document with
an a:sp3d tag but without a:scene3d section would be invalid, but the
code was logically wrong.
Change-Id: Ifa838e425849642c2a1bf6fca6b6a8dc8ed3b465
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/drawingml/shape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index 6d138686ff77..bce735782f9c 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -941,7 +941,7 @@ Reference< XShape > Shape::createAndInsert( Sequence< PropertyValue > aCamera3DEffects = get3DProperties().getCameraAttributes(); Sequence< PropertyValue > aLightRig3DEffects = get3DProperties().getLightRigAttributes(); Sequence< PropertyValue > aShape3DEffects = get3DProperties().getShape3DAttributes( rGraphicHelper, nFillPhClr ); - if( aCamera3DEffects.getLength() > 0 || aLightRig3DEffects.getLength() > 0 ) + if( aCamera3DEffects.getLength() > 0 || aLightRig3DEffects.getLength() > 0 || aShape3DEffects.getLength() > 0 ) { Sequence< PropertyValue > a3DEffectsGrabBag( 3 ); PUT_PROP( a3DEffectsGrabBag, 0, "Camera", Any( aCamera3DEffects ) ); |