summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-07-17 13:03:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-07-17 16:27:35 +0200
commit0821457cdb6476b2b1860c8aeda718b130ab808e (patch)
treeda9d0752c12287ab6669a9a6042e434493cdf43f /vcl/source
parentda2e7b1e0b58aed20d44b7c588ee86d922d614a8 (diff)
simply some LogicToPixel calculation sites
Change-Id: I9698562dd1f8d4679c9999342ded1022bde698be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154523 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/outdev/transparent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/transparent.cxx b/vcl/source/outdev/transparent.cxx
index 4a4b6b5a54bb..793b26e2e581 100644
--- a/vcl/source/outdev/transparent.cxx
+++ b/vcl/source/outdev/transparent.cxx
@@ -585,7 +585,7 @@ void OutputDevice::DrawTransparent( const GDIMetaFile& rMtf, const Point& rPos,
else
{
GDIMetaFile* pOldMetaFile = mpMetaFile;
- tools::Rectangle aOutRect( LogicToPixel( rPos ), LogicToPixel( rSize ) );
+ tools::Rectangle aOutRect( LogicToPixel( tools::Rectangle(rPos, rSize) ) );
Point aPoint;
tools::Rectangle aDstRect( aPoint, GetOutputSizePixel() );