summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-05-18 21:55:12 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-05-18 23:21:34 +0200
commitc061d3cee60af8aa5e9aa924df0f38248d91b777 (patch)
tree89c7294095844119a983b293db83384e7055b2f2
parente39ea45caa3712ae2ff077203ef8aef0e16fe41a (diff)
OutputDevice::GetBitmap(Ex) takes logical size, not pixel
Change-Id: Id882cab9bb913c33bf586d278eb94c63636403c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134554 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r--vcl/source/app/salvtables.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index a8fdaf2a7978..07a8a649c8ba 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -5381,7 +5381,7 @@ void SalInstanceIconView::insert(int pos, const OUString* pStr, const OUString*
if (pIcon)
{
const Point aNull(0, 0);
- const Size aSize = pIcon->GetOutputSizePixel();
+ const Size aSize = pIcon->GetOutputSize();
Image aImage(pIcon->GetBitmapEx(aNull, aSize));
pEntry->AddItem(std::make_unique<SvLBoxContextBmp>(aImage, aImage, false));
}