diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2023-12-02 22:27:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-12-03 17:39:43 +0100 |
commit | 29fc0ec9930fc1c09c0e79d41c56f93ae853c054 (patch) | |
tree | 6866cf167d9118d9d31c1e8fc95aff72d2c2b324 /framework | |
parent | 033f973e22f4d76a8e55a5591ac46249c149901d (diff) |
Split the *Bitmap::CopyPixel functions
into the two entire separate cases they want to handle, there is
no reason to mix the two different cases like this.
Change-Id: I38e99e7ad6168a84e7a744f61407887825158902
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160248
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uiconfiguration/ImageList.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uiconfiguration/ImageList.cxx b/framework/source/uiconfiguration/ImageList.cxx index 0e64d219c166..5fb0f44f65b6 100644 --- a/framework/source/uiconfiguration/ImageList.cxx +++ b/framework/source/uiconfiguration/ImageList.cxx @@ -56,7 +56,7 @@ BitmapEx ImageList::GetAsHorizontalStrip() const tools::Rectangle aDestRect( Point( nIdx * aImageSize.Width(), 0 ), aImageSize ); ImageAryData *pData = maImages[ nIdx ].get(); BitmapEx aTmp = pData->maImage.GetBitmapEx(); - aResult.CopyPixel( aDestRect, aSrcRect, &aTmp); + aResult.CopyPixel( aDestRect, aSrcRect, aTmp); } return aResult; |