sw/source/filter/ww8/rtfsdrexport.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 032b5090729a19170856851215a2ea8ea8616e81 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Jan 6 10:30:55 2017 +0100 No need to check isEmpty() before clearing Change-Id: I75b077cbc2d100964d4157220561d53c1b235199 diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx index 4397dff..d76a1f6 100644 --- a/sw/source/filter/ww8/rtfsdrexport.cxx +++ b/sw/source/filter/ww8/rtfsdrexport.cxx @@ -60,8 +60,7 @@ void RtfSdrExport::OpenContainer(sal_uInt16 nEscherContainer, int nRecInstance) if (nEscherContainer == ESCHER_SpContainer) { m_nShapeType = ESCHER_ShpInst_Nil; - if (!m_aShapeStyle.isEmpty()) - m_aShapeStyle.setLength(0); + m_aShapeStyle.setLength(0); m_aShapeStyle.ensureCapacity(200); m_aShapeProps.clear(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits