diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-10-19 15:11:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-10-19 22:01:31 +0200 |
commit | c4cec8647faf130111d67302e75998ddff4c0792 (patch) | |
tree | ad42b521fe2b671a93529cfa4211f271a893d439 /vcl | |
parent | 3aef606f2758172a27718a06fea0ff9080e4d80f (diff) |
clang-cl: Adapt Windows-specific code to extended loplugin:cstylecast
...after 1ebeacb20ad0165e399629fcfd7795ad0da3edf8 "Extend loplugin:cstylecast to
certain function-style casts"
Change-Id: I99bd383f5b3bee861d442d2e1be6ecd356b78315
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104523
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/gdi/salbmp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/salbmp.cxx b/vcl/win/gdi/salbmp.cxx index 33f450a07d16..43b322358b41 100644 --- a/vcl/win/gdi/salbmp.cxx +++ b/vcl/win/gdi/salbmp.cxx @@ -669,7 +669,7 @@ bool WinSalBitmap::Create( const css::uno::Reference< css::rendering::XBitmapCan sal_Int64 aHBmp64; if( args[0] >>= aHBmp64 ) { - return Create( HBITMAP(aHBmp64), false, false ); + return Create( reinterpret_cast<HANDLE>(aHBmp64), false, false ); } } } |