summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/shapecontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/shapecontext.cxx')
-rw-r--r--oox/source/drawingml/shapecontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/shapecontext.cxx b/oox/source/drawingml/shapecontext.cxx
index 4ee664b1c66c..a5a1f16f5935 100644
--- a/oox/source/drawingml/shapecontext.cxx
+++ b/oox/source/drawingml/shapecontext.cxx
@@ -90,7 +90,7 @@ Reference< XFastContextHandler > ShapeContext::createFastChildContext( sal_Int32
break;
case XML_ph:
mpShapePtr->setSubType( xAttribs->getOptionalValueToken( XML_type, XML_obj ) );
- mpShapePtr->setIndex( xAttribs->getOptionalValue( XML_idx ).toInt32() );
+ mpShapePtr->setSubTypeIndex( xAttribs->getOptionalValue( XML_idx ).toInt32() );
break;
// nvSpPr CT_ShapeNonVisual end