diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2016-12-09 15:35:50 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2016-12-09 14:42:06 +0000 |
commit | 99fd3b2a2759864caf519dfd89173e301b74c24e (patch) | |
tree | f3688e9cb53f7299d66f35aca3df6c3e362b499f /framework | |
parent | 19a4eaab9a55a2ecb33b727bad6307c5a2badc23 (diff) |
vcl: set toolbox size correctly when using 32px icons
Change-Id: Ifacff75f80bc8401ccff2a4d4dc90e56e3b4aa84
Reviewed-on: https://gerrit.libreoffice.org/31801
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/fwe/classes/addonsoptions.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index c3013e4a2532..fc11b4e4c803 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -475,7 +475,7 @@ bool AddonsOptions_Impl::GetMergeToolbarInstructions( static Image ScaleImage( const Image &rImage, bool bBig ) { - Size aSize = ToolBox::GetDefaultImageSize(bBig); + Size aSize = ToolBox::GetDefaultImageSize(bBig ? ToolBoxButtonSize::Large : ToolBoxButtonSize::Small); BitmapEx aScaleBmp(rImage.GetBitmapEx()); SAL_INFO("fwk", "Addons: expensive scale image from " << aScaleBmp.GetSizePixel() << " to " << aSize); |