diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-12-16 15:10:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-12-16 20:18:04 +0000 |
commit | 1ae71d8f09771ba7180be6ebdf89d36a31eb8625 (patch) | |
tree | 9ae2f804443468128c3e6c72846eaa32d4c49214 /sw/source/uibase/app/docsh2.cxx | |
parent | 068187a898cdd2e26e9b16c348ecc1ed2dee3f29 (diff) |
Revert "fix math export/import in docx/rtf"
This reverts commit 2b5953a19e36a02040f2ff08bc87efe4785f80bd. Whatever that
"gcc4.4 (and 4.3 and possibly older) have a problem with dynamic_cast directly
to the target class" issue actually was: For one, our GCC 7 baseline presumably
would no longer have such an issue. And for another, the added asserts that the
results of the dynamic_casts must be non-null were presumably all bogus (and
have in part been reverted again in the meantime), as all the sources are UNO
interface types that can presumably point at implementation objects of other
than the expected C++ class types. (Those dynamic_casts from UNO interface
types will be addressed in a follow-up commit. See the upcoming commit
introducing loplugin:unocast on why such dynamic_casts are dangerous.)
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
sw/qa/extras/rtfexport/rtfexport.cxx
sw/source/filter/ww8/docxattributeoutput.cxx
sw/source/filter/ww8/rtfattributeoutput.cxx
writerfilter/Library_writerfilter.mk
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx
Change-Id: I0c330a3541e64ce08bfe30ff15d51a2fd8a243b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144336
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/uibase/app/docsh2.cxx')
0 files changed, 0 insertions, 0 deletions