summaryrefslogtreecommitdiff
path: root/vcl/source/bitmap
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-12-12 14:07:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-12-13 18:09:04 +0100
commit92691a5b0afa149495615d7b269e74569b798944 (patch)
tree68034dc853befe66a943b183c852979697337a21 /vcl/source/bitmap
parent152e10996fe9c788daec940bab6fe897097ba992 (diff)
loplugin:unusedmethods
Change-Id: Id0aed0077ed121fdaef574248427a3425248e7d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160617 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/bitmap')
-rw-r--r--vcl/source/bitmap/BitmapEx.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/source/bitmap/BitmapEx.cxx b/vcl/source/bitmap/BitmapEx.cxx
index 40feacbf66dd..4246861679e4 100644
--- a/vcl/source/bitmap/BitmapEx.cxx
+++ b/vcl/source/bitmap/BitmapEx.cxx
@@ -407,19 +407,6 @@ void BitmapEx::Expand( sal_Int32 nDX, sal_Int32 nDY, bool bExpandTransparent )
"BitmapEx::Expand(): size mismatch for bitmap and alpha mask.");
}
-bool BitmapEx::CopyPixel( const tools::Rectangle& rRectDst, const tools::Rectangle& rRectSrc )
-{
- if( maBitmap.IsEmpty() )
- return false;
-
- bool bRet = maBitmap.CopyPixel( rRectDst, rRectSrc );
-
- if( bRet && !maAlphaMask.IsEmpty() )
- maAlphaMask.CopyPixel( rRectDst, rRectSrc );
-
- return bRet;
-}
-
bool BitmapEx::CopyPixel( const tools::Rectangle& rRectDst, const tools::Rectangle& rRectSrc,
const BitmapEx& rBmpExSrc )
{