summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/mstoolbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/msfilter/mstoolbar.cxx')
-rw-r--r--filter/source/msfilter/mstoolbar.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx
index e0698a36f370..dc700b933a27 100644
--- a/filter/source/msfilter/mstoolbar.cxx
+++ b/filter/source/msfilter/mstoolbar.cxx
@@ -60,13 +60,12 @@ void CustomToolBarImportHelper::applyIcons()
uno::Sequence< uno::Reference< graphic::XGraphic > > images(1);
images[ 0 ] = it->image;
- OSL_TRACE("About to applyIcons for command %s, have image ? %s", OUStringToOString( commands[ 0 ], RTL_TEXTENCODING_UTF8 ).getStr(), images[ 0 ].is() ? "yes" : "no" );
uno::Reference< ui::XImageManager > xImageManager( getCfgManager()->getImageManager(), uno::UNO_QUERY_THROW );
sal_uInt16 nColor = ui::ImageType::COLOR_NORMAL;
vcl::Window* topwin = Application::GetActiveTopWindow();
- if ( topwin != nullptr && topwin->GetDisplayBackground().GetColor().IsDark() )
- nColor = css::ui::ImageType::COLOR_HIGHCONTRAST;
+ if ( topwin != nullptr && topwin->GetDisplayBackground().GetColor().IsDark() )
+ nColor = css::ui::ImageType::COLOR_HIGHCONTRAST;
ScaleImage( images[ 0 ], 16 );
xImageManager->replaceImages( ui::ImageType::SIZE_DEFAULT | nColor, commands, images );