diff options
Diffstat (limited to 'framework/source/xml')
-rw-r--r-- | framework/source/xml/imagesdocumenthandler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx index cbcb0eb265df..f18df438ab4e 100644 --- a/framework/source/xml/imagesdocumenthandler.cxx +++ b/framework/source/xml/imagesdocumenthandler.cxx @@ -510,8 +510,7 @@ void SAL_CALL OReadImagesDocumentHandler::endElement(const OUString& aName) { if ( m_pExternalImages && !m_aImageList.pExternalImageList ) { - if ( !m_aImageList.pExternalImageList ) - m_aImageList.pExternalImageList.reset( m_pExternalImages ); + m_aImageList.pExternalImageList.reset( m_pExternalImages ); } m_bExternalImagesStartFound = false; |