diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-08 12:33:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-08 15:50:00 +0200 |
commit | 44718954e78c88442ff6654d3e13ba69188e2d38 (patch) | |
tree | b728fb736abf6a8de8632f1eb3295325801c947b /svtools | |
parent | bf726e66fecffc05d61b9c6d97dfa82fee9ab2c8 (diff) |
use BitmapEx in EmbeddedObjectRef::DrawPaintReplacement
Change-Id: Ia15a34abaf941ae4af34dbb3cb93a7525a746cd1
Reviewed-on: https://gerrit.libreoffice.org/75215
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/embedhlp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx index eace6d8e927a..beb765409a35 100644 --- a/svtools/source/misc/embedhlp.cxx +++ b/svtools/source/misc/embedhlp.cxx @@ -709,7 +709,7 @@ void EmbeddedObjectRef::DrawPaintReplacement( const tools::Rectangle &rRect, con nWidth = nW; } - pOut->DrawBitmap(aP, Size( nWidth, nHeight ), aBmp.GetBitmap()); + pOut->DrawBitmapEx(aP, Size( nWidth, nHeight ), aBmp); } pOut->IntersectClipRegion( rRect ); |