sidebar: The sidebar uses only small icons.
Force the Color toolbar buttons etc. to small icons too, otherwise
it's inconsistent.
Change-Id: I7eea09c47c2d2f888611d04b2177f490f4977ebb
diff --git a/sfx2/source/sidebar/SidebarToolBox.cxx b/sfx2/source/sidebar/SidebarToolBox.cxx
index 61110ee..0fcf64e 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);
}
}