diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 21:07:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:18:00 +0200 |
commit | 905ee1626e8b1938aa49d6e9465f6c27cdeaafa4 (patch) | |
tree | 20c730e854aa21814b614755a57551e8b56fed7b /vcl/inc | |
parent | f9efb261dd4a0627ab144aa450c45d07f0420f23 (diff) |
Improved loplugin:cstylecast to reference types: vcl
Change-Id: I86d31a6dcd01700d6ac8712134f82f0cc83e46f6
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/octree.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/octree.hxx b/vcl/inc/octree.hxx index 44a4c5e0a77f..9f670fa6bf98 100644 --- a/vcl/inc/octree.hxx +++ b/vcl/inc/octree.hxx @@ -59,7 +59,7 @@ private: sal_uLong nLevel; NODE* pTree; NODE* pReduce[ OCTREE_BITS + 1 ]; - BitmapColor* pColor; + BitmapColor const * pColor; ImpNodeCache* pNodeCache; const BitmapReadAccess* pAcc; sal_uInt16 nPalIndex; @@ -83,7 +83,7 @@ inline const BitmapPalette& Octree::GetPalette() inline sal_uInt16 Octree::GetBestPaletteIndex( const BitmapColor& rColor ) { - pColor = &(BitmapColor&) rColor; + pColor = &rColor; nPalIndex = 65535; nLevel = 0L; GetPalIndex( pTree ); |