diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2018-04-03 01:05:33 +1000 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-04-03 04:46:19 +0200 |
commit | 8e0eb015e74775b9bf02326ffd7b67e83ad6c60d (patch) | |
tree | 3efb6da3014389a326bedd5c6504be05a077fc5f /svx | |
parent | 55d5d9d365ea18e66cef045756f772e2fa9d0648 (diff) |
vcl: use BitmapEx::Scale() where needed and SetSizePixel() elsewhere
Change-Id: If4b2f3c209d1aefbe5756645d448c992387bae16
Reviewed-on: https://gerrit.libreoffice.org/52268
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/gallery2/galobj.cxx b/svx/source/gallery2/galobj.cxx index d307b65bfd47..d9e6a205cbfe 100644 --- a/svx/source/gallery2/galobj.cxx +++ b/svx/source/gallery2/galobj.cxx @@ -118,7 +118,7 @@ bool SgaObject::CreateThumb( const Graphic& rGraphic ) else aBmpSize.setHeight( FRound( aBmpSize.Width() / fFactorLog ) ); - aBmpEx.SetSizePixel( aBmpSize, BmpScaleFlag::BestQuality ); + aBmpEx.Scale(aBmpSize, BmpScaleFlag::BestQuality); } } |