diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:36:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:36:18 +0200 |
commit | cc6451efd98eff04935e8da5e05dd26a6b208557 (patch) | |
tree | 27a3be361a5f4e704f23c24207ce59918a530715 /vcl | |
parent | d95f50689f915b92211714495e866e2f47909f11 (diff) |
Improved loplugin:redundantcast static_cast handling: vcl
Change-Id: I3cf2f05b0076c6c99b84eef4246d3d5c149d6f3d
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index bf039f142d58..d76d787f173e 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -1613,7 +1613,7 @@ long findBitRun( const Scanline i_pLine, long i_nStartIndex, long i_nW, bool i_b long nIndex = i_nStartIndex; if( nIndex < i_nW ) { - const sal_uInt8 * pByte = static_cast<sal_uInt8*>(i_pLine) + (nIndex/8); + const sal_uInt8 * pByte = i_pLine + (nIndex/8); sal_uInt8 nByte = *pByte; // run up to byte boundary |