summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/xml/imagesdocumenthandler.cxx3
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;