diff options
-rw-r--r-- | sfx2/source/sidebar/SidebarToolBox.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/SidebarToolBox.cxx b/sfx2/source/sidebar/SidebarToolBox.cxx index 61110ee19872..0fcf64e45fdf 100644 --- a/sfx2/source/sidebar/SidebarToolBox.cxx +++ b/sfx2/source/sidebar/SidebarToolBox.cxx @@ -46,6 +46,7 @@ SidebarToolBox::SidebarToolBox ( { SetBackground(Wallpaper()); SetPaintTransparent(true); + SetToolboxButtonSize( TOOLBOX_BUTTONSIZE_SMALL ); if (rxFrame.is()) { @@ -250,14 +251,12 @@ Reference<frame::XToolbarController> SidebarToolBox::GetControllerForItemId (con void SidebarToolBox::UpdateIcons (const Reference<frame::XFrame>& rxFrame) { - const sal_Bool bBigImages (SvtMiscOptions().AreCurrentSymbolsLarge()); - for (ControllerContainer::iterator iController(maControllers.begin()), iEnd(maControllers.end()); iController!=iEnd; ++iController) { const ::rtl::OUString sCommandURL (iController->second.msCurrentCommand); - Image aImage (framework::GetImageFromURL(rxFrame, sCommandURL, bBigImages)); + Image aImage (framework::GetImageFromURL(rxFrame, sCommandURL, false)); SetItemImage(iController->first, aImage); } } |