diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/bitmap/bitmappaint.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/dibtools.cxx | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/bitmap/bitmappaint.cxx b/vcl/source/bitmap/bitmappaint.cxx index 04b301d47d89..5c14e1476aca 100644 --- a/vcl/source/bitmap/bitmappaint.cxx +++ b/vcl/source/bitmap/bitmappaint.cxx @@ -1048,8 +1048,6 @@ bool Bitmap::CombineSimple(const Bitmap& rMask, BmpCombine eCombine) const long nWidth = std::min(pMaskAcc->Width(), pAcc->Width()); const long nHeight = std::min(pMaskAcc->Height(), pAcc->Height()); const Color aColBlack(COL_BLACK); - BitmapColor aPixel; - BitmapColor aMaskPixel; const BitmapColor aWhite(pAcc->GetBestMatchingColor(COL_WHITE)); const BitmapColor aBlack(pAcc->GetBestMatchingColor(aColBlack)); const BitmapColor aMaskBlack(pMaskAcc->GetBestMatchingColor(aColBlack)); diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx index 4728a43700d1..ce1df4a68a65 100644 --- a/vcl/source/gdi/dibtools.cxx +++ b/vcl/source/gdi/dibtools.cxx @@ -1108,7 +1108,6 @@ bool ImplWriteDIBPalette( SvStream& rOStm, BitmapReadAccess const & rAcc ) const sal_uLong nPalSize = nColors * 4UL; std::unique_ptr<sal_uInt8[]> pEntries(new sal_uInt8[ nPalSize ]); sal_uInt8* pTmpEntry = pEntries.get(); - BitmapColor aPalColor; for( sal_uInt16 i = 0; i < nColors; i++ ) { |