diff options
Diffstat (limited to 'oox/source/drawingml/chart/plotareacontext.cxx')
-rw-r--r-- | oox/source/drawingml/chart/plotareacontext.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/plotareacontext.cxx b/oox/source/drawingml/chart/plotareacontext.cxx index acbe4f12d0e3..f50deb1e2025 100644 --- a/oox/source/drawingml/chart/plotareacontext.cxx +++ b/oox/source/drawingml/chart/plotareacontext.cxx @@ -87,6 +87,7 @@ WallFloorContext::~WallFloorContext() ContextHandlerRef WallFloorContext::onCreateContext( sal_Int32 nElement, const AttributeList& ) { + bool bMSO2007Doc = getFilter().isMSO2007Document(); switch( getCurrentElement() ) { case C_TOKEN( backWall ): @@ -95,7 +96,7 @@ ContextHandlerRef WallFloorContext::onCreateContext( sal_Int32 nElement, const A switch( nElement ) { case C_TOKEN( pictureOptions ): - return new PictureOptionsContext( *this, mrModel.mxPicOptions.create() ); + return new PictureOptionsContext( *this, mrModel.mxPicOptions.create(bMSO2007Doc) ); case C_TOKEN( spPr ): return new ShapePropertiesContext( *this, mrModel.mxShapeProp.create() ); } |