summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2023-12-02 22:27:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-12-03 17:39:43 +0100
commit29fc0ec9930fc1c09c0e79d41c56f93ae853c054 (patch)
tree6866cf167d9118d9d31c1e8fc95aff72d2c2b324 /oox
parent033f973e22f4d76a8e55a5591ac46249c149901d (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 'oox')
-rw-r--r--oox/source/export/drawingml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 87c693a9cd75..228aa2326cc0 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -3164,7 +3164,7 @@ void DrawingML::WriteParagraphNumbering(const Reference< XPropertySet >& rXPropS
aSourceBitmap.Scale(aDestRect.GetSize());
tools::Rectangle aSourceRect(Point(0, 0), aDestRect.GetSize());
BitmapEx aDestBitmap(Bitmap(aDestSize, vcl::PixelFormat::N24_BPP), aMask);
- aDestBitmap.CopyPixel(aDestRect, aSourceRect, &aSourceBitmap);
+ aDestBitmap.CopyPixel(aDestRect, aSourceRect, aSourceBitmap);
Graphic aDestGraphic(aDestBitmap);
sRelationId = writeGraphicToStorage(aDestGraphic);
fBulletSizeRel = 1.0f;