oox/source/export/vmlexport.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 1606e22d979e7a1cae31c609b214649ded1e5885 Author: Stephan Bergmann <[email protected]> Date: Thu Jan 5 16:56:39 2017 +0100 No need to check isEmpty() before clearing Change-Id: Ie32a4ee915d57618d2a6a661febf39fd0d55dd80 diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx index ba3801b..274c99b 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 _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
