diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-13 17:29:51 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-04-26 19:34:44 +0000 |
commit | e153df58650cc7eb7a87de03d7228dbbaffdfcfb (patch) | |
tree | a1b9b15fa57186d08bee7b1855c19c96c56bee4f /xmloff | |
parent | eadc1f93747f493278affc42f361f99f079a2fbf (diff) |
-Werror=address
the original looks odd, but the code was like that ever since it got introduced
with 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70 "re-base on ALv2 code. Includes
(at least) relevant parts of:"
Change-Id: I327c5a53a2634aca1b36367ee09c068ac610d3f4
(cherry picked from commit 09f1bd85d432d130cd54d329d01a020728757c2e)
Signed-off-by: David Tardon <dtardon@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/24406
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'xmloff')
-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: */ |