summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-05 13:52:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-05 13:52:17 +0100
commitc03d803a723e3325b210346126115457e914f605 (patch)
tree4de546352d3bd7f8534b07128cf946638790d93c /oox
parent910817d7364253c8ed0dc876e5e38fdc707e0ee8 (diff)
Replace side-effect--only uses of makeStringAndClear() with setLength(0)
Change-Id: Iaf8011f1bd6a10b324653899b7f51458f7d0b68a
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/vmlexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx
index 11035f28b80a..c284b5512756 100644
--- a/oox/source/export/vmlexport.cxx
+++ b/oox/source/export/vmlexport.cxx
@@ -101,7 +101,7 @@ void VMLExport::OpenContainer( sal_uInt16 nEscherContainer, int nRecInstance )
m_pShapeAttrList = FastSerializerHelper::createAttrList();
if ( !m_pShapeStyle->isEmpty() )
- m_pShapeStyle->makeStringAndClear();
+ m_pShapeStyle->setLength(0);
m_pShapeStyle->ensureCapacity( 200 );