summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-02 09:36:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-02 09:36:18 +0200
commitcc6451efd98eff04935e8da5e05dd26a6b208557 (patch)
tree27a3be361a5f4e704f23c24207ce59918a530715 /vcl
parentd95f50689f915b92211714495e866e2f47909f11 (diff)
Improved loplugin:redundantcast static_cast handling: vcl
Change-Id: I3cf2f05b0076c6c99b84eef4246d3d5c149d6f3d
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl2.cxx2
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