starmath/source/ElementsDockingWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2a6f4a2f4f5b1b61fb859b33fd889ad55fe4eee8 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Jun 23 18:11:49 2025 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Mon Jun 23 19:20:14 2025 +0200 tdf#167112 MATH: Elements sidebar is empty regression from commit 25f007984f91393dbc34adbd2bf59d8b4bae490a Author: Noel Grandin <noelgran...@gmail.com> Date: Tue Jun 10 18:20:18 2025 +0200 tdf#166932 use BitmapEx in preview style cache instead of VirtualDevice Change-Id: I385c3428e97b68e3ce7429ffaf87ddfc81a547b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186853 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index cfba577cb155..57252b79aa24 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -594,7 +594,7 @@ void SmElementsControl::addElement(const OUString& aElementVisual, const OUStrin maItemDatas.push_back(std::make_unique<ElementData>(aElementSource, aHelpText, maItemDatas.size())); const OUString aId(weld::toId(maItemDatas.back().get())); - BitmapEx aBitmap = pDevice->GetBitmapEx(Point(0,0), pDevice->GetOutputSizePixel()); + BitmapEx aBitmap = pDevice->GetBitmapEx(Point(0,0), pDevice->GetOutputSize()); mpIconView->insert(-1, nullptr, &aId, &aBitmap, nullptr); mpIconView->set_item_accessible_name(mpIconView->n_children() - 1, GetElementHelpText(aId)); if (mpIconView->get_item_width() < aSize.Width())