summaryrefslogtreecommitdiffstats
path: root/bridges/source/cpp_uno/msvc_shared/except.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-10-13 17:11:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-10-14 08:33:39 +0200
commit06ac088aeec09f7f90d3ccbffc2f5eed04b82151 (patch)
treef6632893730d62bf660ec86be1379884b806ac26 /bridges/source/cpp_uno/msvc_shared/except.cxx
parent-Werror,-Wmicrosoft-exception-spec (clang-cl) (diff)
downloadcore-06ac088aeec09f7f90d3ccbffc2f5eed04b82151.tar.gz
core-06ac088aeec09f7f90d3ccbffc2f5eed04b82151.zip
loplugin:redundantcast (clang-cl)
Change-Id: I2918d9ac8a4600bf5729604bda1beffb1dca78d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104244 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'bridges/source/cpp_uno/msvc_shared/except.cxx')
-rw-r--r--bridges/source/cpp_uno/msvc_shared/except.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/msvc_shared/except.cxx b/bridges/source/cpp_uno/msvc_shared/except.cxx
index f6914922a14f..5bce2b04bc47 100644
--- a/bridges/source/cpp_uno/msvc_shared/except.cxx
+++ b/bridges/source/cpp_uno/msvc_shared/except.cxx
@@ -133,7 +133,7 @@ ExceptionInfos::~ExceptionInfos() throw()
osl::MutexGuard aGuard(m_aMutex);
for (auto& rEntry : m_allRaiseInfos)
- delete reinterpret_cast<RaiseInfo*>(rEntry.second);
+ delete static_cast<RaiseInfo*>(rEntry.second);
}
RaiseInfo* ExceptionInfos::getRaiseInfo(typelib_TypeDescription* pTD) throw()