vcl/source/app/salvtables.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c061d3cee60af8aa5e9aa924df0f38248d91b777 Author: Mike Kaganski <[email protected]> AuthorDate: Wed May 18 21:55:12 2022 +0300 Commit: Mike Kaganski <[email protected]> CommitDate: Wed May 18 23:21:34 2022 +0200 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 <[email protected]> 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)); }
