diff options
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/core/xmlmultiimagehelper.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmloff/source/core/xmlmultiimagehelper.cxx b/xmloff/source/core/xmlmultiimagehelper.cxx index 9a6711fb339d..e7eeb6277830 100644 --- a/xmloff/source/core/xmlmultiimagehelper.cxx +++ b/xmloff/source/core/xmlmultiimagehelper.cxx @@ -136,10 +136,7 @@ SvXMLImportContextRef MultiImageImportHelper::solveMultipleImages() void MultiImageImportHelper::addContent(const SvXMLImportContext& rSvXMLImportContext) { - if(dynamic_cast< const SvXMLImportContext* >(&rSvXMLImportContext)) - { - maImplContextVector.push_back(SvXMLImportContextRef(const_cast< SvXMLImportContext* >(&rSvXMLImportContext))); - } + maImplContextVector.push_back(SvXMLImportContextRef(const_cast< SvXMLImportContext* >(&rSvXMLImportContext))); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |