diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-30 15:05:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-10-04 06:51:29 +0000 |
commit | 974b7fe6dfa8935a2068365e416b8d886f9d2a32 (patch) | |
tree | 2e7c05cc5f67f691098bb871f26374271e3e6370 /sal/osl/w32/signal.cxx | |
parent | 480f6916eff8636fbf6b980a604c6e19a099df08 (diff) |
clang-cl loplugin: sal
Change-Id: If04d3f07dc8bffac8887773b5424c09848cd8f1a
Reviewed-on: https://gerrit.libreoffice.org/29404
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/osl/w32/signal.cxx')
-rw-r--r-- | sal/osl/w32/signal.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/signal.cxx b/sal/osl/w32/signal.cxx index 743d2b2fb8c8..a9fa84f7c86b 100644 --- a/sal/osl/w32/signal.cxx +++ b/sal/osl/w32/signal.cxx @@ -52,7 +52,7 @@ bool onInitSignal() HMODULE hFaultRep = LoadLibrary( "faultrep.dll" ); if ( hFaultRep ) { - pfn_ADDEREXCLUDEDAPPLICATIONW pfn = (pfn_ADDEREXCLUDEDAPPLICATIONW)GetProcAddress( hFaultRep, "AddERExcludedApplicationW" ); + pfn_ADDEREXCLUDEDAPPLICATIONW pfn = reinterpret_cast<pfn_ADDEREXCLUDEDAPPLICATIONW>(GetProcAddress( hFaultRep, "AddERExcludedApplicationW" )); if ( pfn ) pfn( L"SOFFICE.EXE" ); FreeLibrary( hFaultRep ); |