summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/export/vmlexport.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx
index ba3801b3c309..274c99b660f5 100644
--- a/oox/source/export/vmlexport.cxx
+++ b/oox/source/export/vmlexport.cxx
@@ -98,9 +98,7 @@ void VMLExport::OpenContainer( sal_uInt16 nEscherContainer, int nRecInstance )
m_nShapeType = ESCHER_ShpInst_Nil;
m_pShapeAttrList = FastSerializerHelper::createAttrList();
- if (!m_ShapeStyle.isEmpty())
- m_ShapeStyle.setLength(0);
-
+ m_ShapeStyle.setLength(0);
m_ShapeStyle.ensureCapacity(200);
// postpone the output so that we are able to write even the elements