diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-06 10:30:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-06 10:30:55 +0100 |
commit | 032b5090729a19170856851215a2ea8ea8616e81 (patch) | |
tree | c3ddab653fa9f351d5116d06f1749ccd92fbc939 /sw | |
parent | 9e6132b985b7cb8acebe4fdb2322b25931abde3e (diff) |
No need to check isEmpty() before clearing
Change-Id: I75b077cbc2d100964d4157220561d53c1b235199
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/rtfsdrexport.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx index 4397dffa5da8..d76a1f63a3fe 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(); } |