diff options
-rw-r--r-- | oox/source/vml/vmlshape.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/oox/source/vml/vmlshape.cxx b/oox/source/vml/vmlshape.cxx index b90bddafb7ef..5153e517a214 100644 --- a/oox/source/vml/vmlshape.cxx +++ b/oox/source/vml/vmlshape.cxx @@ -815,7 +815,10 @@ Reference< XShape > SimpleShape::implConvertAndInsert( const Reference< XShapes { OUString aToken = maTypeModel.maAdjustments.getToken(0, ',', nIndex); drawing::EnhancedCustomShapeAdjustmentValue aAdjustmentValue; - aAdjustmentValue.Value <<= aToken.toInt32(); + if (aToken.isEmpty()) + aAdjustmentValue.State = css::beans::PropertyState::PropertyState_DEFAULT_VALUE; + else + aAdjustmentValue.Value <<= aToken.toInt32(); aAdjustmentValues.push_back(aAdjustmentValue); } while (nIndex >= 0); |